You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, authorization endpoint URL already contains query parameters. (e.g Azure AD B2C specifies "user flow name" by using query parameters)
If OAuth2 authorization endpoint URL contains '?' (=already has query params), this module should join options generated by this module to given URL with '&' ,not '?'.
Version
module: 5.0.0-1667386184.dfbbb54
nuxt: 2.15.8
Nuxt configuration
mode:
Nuxt configuration
Reproduction
What is expected?
In some cases, authorization endpoint URL already contains query parameters. (e.g Azure AD B2C specifies "user flow name" by using query parameters)
If OAuth2 authorization endpoint URL contains '?' (=already has query params), this module should join options generated by this module to given URL with '&' ,not '?'.
auth-module/src/schemes/oauth2.ts
Line 306 in dfbbb54
What is actually happening?
Redirect to authorization endpoint fails because authorization URL is like this↓
https://example.com/oauth2/authorize ? given_param=something ? param_generated_by_this_module=something&other_param=...
"?" appears twice
Steps to reproduce
Set up Azure AD B2C and write configuration above
,or just specify authorization endpoint with some query parameters
Additional information
Checklist
The text was updated successfully, but these errors were encountered: