You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discuss
Hello,
I have a Native Applications that tries to get an access token. I am submitting the following scopes 'openid,email,profile,urn:globus:auth:scope:transfer.api.globus.org:all' I get the UNKNOWN_SCOPE_ERROR:
requested unknown scopes: ['openid,email,profile,urn:globus:auth:scope:transfer.api.globus.org:all']I am using js-pkce library (npm) for PKCE authorization. If I submit only urn:globus:auth:scope:transfer.api.globus.org:all then it is working, but I also need other scopes as well.My PKCE object
Is it a library problem and I should switch to manually creating code_verifier and code_chalenge or is it some syntax error in requested_scopes or maybe there is a problem to have both transfer and auth scopes?
Regards,
Victoria
Josh Bryan
unread,
May 22, 2024, 4:54:09 PMMay 22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Victoria Lubitch, Discuss
Victoria,
The error here looks like the `requested_scopes` parameter is not delimited appropriately. Oauth2 requires that multiple scopes be sent in a space delimited query parameter rather than a comma delimited parameter. I expect replacing the commas with spaces will get you past this issue.
Regards,
Josh
Victoria Lubitch
unread,
May 23, 2024, 11:55:50 AMMay 23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discuss, jo...@globus.org, Discuss, Victoria Lubitch
Thanks Josh, the space separator did solve my problem.