Hi,
I've implemented a custom OAuth Provider and API.
So currently AEM redirects to OAuth form, and after successful login user is redirected back to AEM with
authorization_code as a parameter
http://localhost:4503/content/site/en/welcome.html?code=W8kJTZV9syQJ8JOuPWMTCeP_x2C190y-9CmWehunGpM&state=s5vraqvk34thmc5koifac1kbla
The problem is that OAuthAuthenticationHandler doesn't see authorization_code as a request param:
com.adobe.granite.auth.oauth.impl.OAuthAuthenticationHandler extractCredentials: fallback to we can't handle this
as a result, there is the following error in logs:
com.adobe.granite.auth.oauth.impl.helper.OauthTokenManager token not found in request attribute or cookie for:customOAuth
Why code param is not visible for OAuthAuthenticationHandler? How could it be debugged to understand the root cause of this issue?
Thank you in advance!