Add a protected method named resolveCallBackURLForAPIBasedAuthFlow to resolve the callback in the API_BASED authentication flow.
Changing the callback URL to the client application's callback URL in initiateAuthenticationRequest method and getAccessTokenRequest could affect the OIDC authenticators used for internal purposes.
resolveCallBackURLForAPIBasedAuthFlow method gives the capability to override the behavior in other authenticators if required.
Proposed changes in this pull request
Add a protected method named
resolveCallBackURLForAPIBasedAuthFlow
to resolve the callback in the API_BASED authentication flow.Changing the callback URL to the client application's callback URL in
initiateAuthenticationRequest
method andgetAccessTokenRequest
could affect the OIDC authenticators used for internal purposes.resolveCallBackURLForAPIBasedAuthFlow method gives the capability to override the behavior in other authenticators if required.
Part of the first issue of https://github.com/wso2/product-is/issues/19668