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

Login Loop — Cannot Authorize App #2666

Open
expozeur opened this issue Nov 4, 2024 · 6 comments
Open

Login Loop — Cannot Authorize App #2666

expozeur opened this issue Nov 4, 2024 · 6 comments

Comments

@expozeur
Copy link

expozeur commented Nov 4, 2024

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.

Describe the bug


To Reproduce

  1. Go to 'Integrations'
  2. Click on 'Alexa Media Player'
  3. Fill out information (username, password, OTP code generated by Amazon app)
  4. Get redirected to an Amazon login page
  5. Enter email
  6. Enter password
  7. Get sent back to Step 5 - Enter email.

Expected behavior

Authorization of the app and a reloading of the HA tab.

System details

  • Home Assistant version: Newest
  • alexa_media version (from const.py or HA startup log): Newest
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log):
  • Is Amazon 2FA/2SV enabled <!---We will not debug login issues if unanswered---> (y/n):
  • Amazon Domain: US

Debug Logs (alexa_media & alexapy)
Please provide logs.

@danielbrunt57
Copy link
Collaborator

On the first Alexa login window (which is the Create account New to Amazon? window), email & password is prefilled. You then select Sign in Already a customer? which opens the Welcome with Sign in Already a Customer? selected and email & password prefilled. Clicking SIGN IN transfers you to the OTP window with the OTP code prefilled.

@danielbrunt57
Copy link
Collaborator

If the above sequence is NOT what you're seeing, then you don't have the correct version of alexapy, which you failed to include above: alexapy version (from pip show alexapy in homeasssistant container or HA startup log):

@b24home
Copy link

b24home commented Nov 5, 2024

If the above sequence is NOT what you're seeing, then you don't have the correct version of alexapy, which you failed to include above: alexapy version (from pip show alexapy in homeasssistant container or HA startup log):

Indeed, I did fail. Looks like I’m on v4.13.7.

@danielbrunt57
Copy link
Collaborator

Indeed, I did fail. Looks like I’m on v4.13.7.

What version of alexapy is HA core executing?

@b24home
Copy link

b24home commented Nov 11, 2024

Tried again today. Now, no loop. Says login successful. However, nothing happens on HA’s side. Currently on 2024.10.4.

@danielbrunt57
Copy link
Collaborator

However, nothing happens on HA’s side.

Can you explain what that means? Does the HA page just sit and spin? Does it still say Open Website?
?

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

3 participants