Skip to main content

Authorization Flow

This section covers the OpenAPI based extension provided for the user authorization flow.

note

Make sure to refer Developer guide for OpenAPI based extensions from documentation

Validate Authorize Request​

The OpenAPI extension for validating the client sending authorize API requests to ensure request parameters are according to the way allowed in the Open Banking specification requirements.

OpenAPI Extensions​

OpenAPI ExtensionDescriptionOpenAPI Definition
validate-authorization-requesthandle specification specific custom validations for the client sending /authorization requestvalidate-authorization-request/post

Configuration​

To enable, follow the steps below:

  1. Open the <IS_HOME>/repository/conf/deployment.toml file.

  2. Locate the following tag and enable it as below and make sure allowed_extensions contains above table mentioned OpenAPI extensions.

[financial_services.extensions.endpoint]
enabled = true
base_url = "<BASE_URL_OF THE EXTENSION>"

allowed_extensions = [ "validate_authorization_request" ]

[financial_services.extensions.endpoint.security]
# supported types : Basic-Auth or OAuth2
type = "Basic-Auth"
username = ""
password = ""

Was this page helpful?