Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Hi there, thank you in advance for your help!

I'm trying to use OAuth endpoint with response_type=token&response_mode=query :

https://ENDPOINT/login/oauth/authorize?client_id=CLIENT_ID&response_type=token&response_mode=query

My client app requires a redirect to REDIRECT_URI/?access_token=...

but I'm always getting the fragment response mode regardless: REDIRECT_URI/#access_token=...

Very possible I'm missing something so thanks for your understanding! But when changing the redirect url manually to have a query parameter it works as expected and the spec reads like this should be possible: https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes

1views
2users
1 minread

see the example repos in casdoor org

Those example repos should work

1 / 2
Jan 2025