Want to know more about Dash? Check out how Amy uses Dropbox and Dash to make her day easier here! 

Forum Discussion

programmer's avatar
programmer
Helpful | Level 5
3 years ago
Solved

pkce web auth does not work

I have app and want to authorize using this url:

 

https://www.dropbox.com/oauth2/authorize?token_access_type=offline&response_type=code&code_challenge_method=S256&client_id=up9dc6vspz96ghi&code_challenge=_6rj6cf1qTS7Ia6slqNF9hjQnynzBuITIyKJ8K-lVUc

 

After that I chose "sign in with google", chose my google account, enter password, and as a result I get the same page

 

https://www.dropbox.com/oauth2/authorize?client_id=up9dc6vspz96ghi&code_challenge=_6rj6cf1qTS7Ia6slqNF9hjQnynzBuITIyKJ8K-lVUc&code_challenge_method=S256&response_type=code&token_access_type=offline

 

 

I tried to use 2 different google accounts: the result is the same.

 

Just about 2 days ago authorization did work. Now I can't authorize.

  • It looks like the issue here is that the app you're attempting to authorize has team scopes, but the account you're signing in to is not on a team, and so cannot connect an app with team scopes.

     

    Accordingly, you're being prompted to sign in again with a team account in order to connect the app. Normally, when signing in with Dropbox credentials, the page would show an error message indicating as much. This doesn't appear to be displayed when using the Google Sign In flow though. I'll ask the team to fix that up to show the error in that case as well.

     

    So, to authorize this app, you'd need to either sign in to a team account, or not request team scopes.

7 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    It looks like the issue here is that the app you're attempting to authorize has team scopes, but the account you're signing in to is not on a team, and so cannot connect an app with team scopes.

     

    Accordingly, you're being prompted to sign in again with a team account in order to connect the app. Normally, when signing in with Dropbox credentials, the page would show an error message indicating as much. This doesn't appear to be displayed when using the Google Sign In flow though. I'll ask the team to fix that up to show the error in that case as well.

     

    So, to authorize this app, you'd need to either sign in to a team account, or not request team scopes.

  • programmer's avatar
    programmer
    Helpful | Level 5
    3 years ago

    Thank you Greg. I am really surprised how soon dropbox tech support replied! Compared with google (google drive), they don't answer at all. Moreover -- dropbox is faster and works better for my app than Google Drive, at least as far as I can see while testing!

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    programmer I just checked on that ticket, and I see it did receive a response from support yesterday. Please make sure the email address registered to your account is correct and can receive email, and check your spam folder.

  • programmer's avatar
    programmer
    Helpful | Level 5
    2 years ago
    I am sorry but I did not get any messages. Please could they just send me response once more to my email. Actually I got notified email on your recent reply:

    Hi programmer,

    Greg-DB (Dropbox Staff) mentioned you in a post! Join the conversation below:

    Re: pkce web auth does not work

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,019 PostsLatest Activity: 2 days ago
402 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!