Skip to content

Configuration Options

Joseba Juániz edited this page Sep 12, 2015 · 10 revisions

This are the configuration options available in the module that will define the behavior of the OAuth2 server.

enforce_state

type: boolean

default: true

Enforces the use of the state parameter while checking for an Authorize Code in the Authorization Code Granting.

allow_implicit

type: boolean

default: false

Defines the allowance of Implicit Granting type in the system.

require_exact_redirect_uri

type: boolean

default: true

Determines if the controller should require an exact match on the "redirect_uri" parameter while checking for an Authorization Code in the Authorization Code Granting.

redirect_status_code

type: integer

default: 302

HTTP Status code that will be shown when redirecting to the defined redirect url while asking for an Authorization Code in the Authorization Code Granting.

use_crypto_tokens

type: default: false,

store_encrypted_token_string

type: default: true,

access_lifetime

type: default: 3600,

www_realm

type: default: Service',

token_param_name

type: default: access_token',

token_bearer_header_name

type: default: Bearer',

enforce_state

type: default: true,

require_exact_redirect_uri

type: default: true,

allow_implicit

type: default: false,

allow_credentials_in_request_body

type: default: true,

allow_public_clients

type: default: true,

always_issue_new_refresh_token

type: default: false,

Clone this wiki locally