Method: Doorkeeper::Config::Builder#use_url_path_for_native_authorization
- Defined in:
- lib/doorkeeper/config.rb
#use_url_path_for_native_authorization ⇒ Object
Choose to use the url path for native autorization codes Enabling this flag sets the authorization code response route for native redirect uris to oauth/authorize/<code>. The default is oauth/authorize/native?code=<code>. Rationale: github.com/doorkeeper-gem/doorkeeper/issues/1143
107 108 109 |
# File 'lib/doorkeeper/config.rb', line 107 def @config.instance_variable_set(:@use_url_path_for_native_authorization, true) end |