Skip to content

Add OAuth2AuthorizationRequestResolver #4911

Closed
@andersonkyle

Description

@andersonkyle

Summary

When using a 3rd party OAuth provider such as Auth0 or Okta it would be very useful to allow developers to hook into the Authorization Request URI build process in order to add custom query parameters. This is because the providers mentioned above have added additional parameters on top of the specification to allow for more functionality.

Examples


Auth0

audience: The unique identifier of the target API you want to access.

This parameter impacts the format of the access token


Okta

idp: The Identity provider used to do the authentication.

This parameter instructs Okta to either use itself as the Identity Provider or to use another identity provider connected to the Okta Authorization Server.


A simple hook into the building of the URI should provide sufficient flexibility for these custom parameters and any others that are introduced in the future.

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions