I'm trying to generate ACCESS TOKEN with account.user+offline_access scope and I keep getting Invalid scope error. Is there a differnt way to specify multiple scopes ?
Invalid scopes: account.user+offline_access
The `account.user` scope is limited to account tokens as described here.
Are you using the `user token` endpoint (/authorize)? That endpoint does not recognize this scope and will return this error. Try "https://lucid.app/oauth2/authorizeAccount" and I believe you will no longer get this failure with those scopes.
@mbowers I am using an /authorizeAccount endpoint. I figured that The search parms which is URL encoded on my end is not being decoded ? If however I replace it manually as account.user+offline_access It works fine
https://lucid.app/oauth2/authorizeAccount?client_id=dummy&state=dummy&redirect_uri=https%3A%2F%2Flucid.app%2Foauth2%2Fclients%dummy%2Fredirect&scope=account.user%2Boffline_access
Thanks I understand your question now. In my testing %2B also did not work which I would expect it to. However I did have success with %20 as "space delimiting" is commonly used with OAuth2 scopes. Hopefully your tool will allow you to provide a space.
Let me know if that does not work. In the meantime l'll submit a bug as %2B should function correctly.
That worked thanks @michael b101
Hi
Account tokens can be generated by using the authorization endpoint `/authorizeAccount`. Note that the user authorizing the token must have admin privileges on the account.
You can find more information at account-tokens and authorization-endpoints
A Lucid account is required to interact with the community. You will be redirected to the Lucid app to create an account.
A Lucid account is required to interact with the community. You will be redirected to the Lucid app to log in.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.