Background page: https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/
So I'm trying to use the implicit grant method of login as I have always done before. However, for some reason whenever I change the redirect url from: 'http://localhost:3000/loginredirect/'
to my actual cloudfront url, it stops working.
To be more specific this url when used with the cloudfront url:
<A href="https://www.dropbox.com/1/oauth2/authorize?client_id=<app" target="_blank" rel="noopener noreferrer">https://www.dropbox.com/1/oauth2/authorize?client_id=<app</A> key>&response_type=token&redirect_uri=<redirect URI>&state=<CSRF token>
|
Does not show me the Dropbox window asking me to grant access to my app, instead it shows me:
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
Also the loginredirect url for both localhost and cloudfront url is set on the app settings side. Not sure what's wrong, it's worked just fine before...
If you have any tips on what might be happening, it'd be greatly appreciated! Thank you for your time!