Description
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
audience: The unique identifier of the target API you want to access.
This parameter impacts the format of the access token
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.