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

SSL is required on Auth #6

Open
BrookeDot opened this issue Jan 30, 2017 · 2 comments
Open

SSL is required on Auth #6

BrookeDot opened this issue Jan 30, 2017 · 2 comments

Comments

@BrookeDot
Copy link

I'm getting a 400 error when trying to run auth_web.py it seems SSL/HTTPS is required to auth an app.

screen shot 2017-01-29 at 10 26 37 pm

screen shot 2017-01-29 at 10 27 23 pm

@xiongyihui
Copy link
Collaborator

It seems HTTPS is not a must-be, HTTP should work

@BrookeDot
Copy link
Author

Hi @xiongyihui The instructions say "Return URL protocal must be HTTPS" which lines up with the error I see when visiting localhost:3000

The redirect URI you provided has not been whitelisted for your application. Please add your redirect URI in the 'Allowed Return URLs' section under 'Web Settings' for your Security Profile on Amazon Developer Portal.
Request Details
scope=alexa%3Aall
redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauthresponse
response_type=code
client_id=amzn1.application-oa2-client.XXXXX
scope_data=%7B%22alexa%3Aall%22%3A+%7B%22productInstanceAttributes%22%3A+%7B%22deviceSerialNumber%22%3A+%22001%22%7D%2C+%22productID%22%3A+%22XXX%22%7D%7D```

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

2 participants