Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization using auth0 : Add a support for openid in the allowed scope . #103

Open
vipinWednesday opened this issue Sep 3, 2023 · 0 comments

Comments

@vipinWednesday
Copy link

vipinWednesday commented Sep 3, 2023

I am trying to authorise my react app with the webflow app , using auth0-react .

This library sends a 'openid' as a scope by default, including the customised scope.
Which currently is not supported in the following list of scopes, which makes the flow incomplete on my app with this error.

https://docs.developers.webflow.com/reference/authorization

Request Url
https://webflow.com/oauth/authorize?
client_id={{client_id}}
scope=openid assets:read sites:read users:read authorized_user:read
response_type=code
response_mode=query
state={{state}}
nonce={{nonce}}
code_challenge={code_challeng}}
code_challenge_method: S256
auth0Client={{auth0Client}}

After logging in at Webflow.

{appUrl}}/loginRedirect?error=invalid_scope&error_description=The following scopes are invalid:openid&state={{state}}
error: invalid_scope
error_description: The following scopes are invalid: openid

The expected flow should work withopenid as a scope .

Any help around this will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant