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

Authorize error #21

Closed
leojcs2021 opened this issue Jul 6, 2022 · 2 comments
Closed

Authorize error #21

leojcs2021 opened this issue Jul 6, 2022 · 2 comments
Labels
ha requirement Home Assistant core change forced requirement

Comments

@leojcs2021
Copy link

When opening the site to authorize, this error occurs.

{"message":"Bad Request","errors":[{"resource":"Application","field":"redirect_uri","code":"invalid"}]}

@craibo
Copy link
Owner

craibo commented Jul 6, 2022

Hi @leojcs2021

The callback url should be using the external url configured in your home assistant system settings

Could you please confirm that:

On your home assistant: the external url is configured correctly (This may be your nabu casa url or personal)
On Strava: The api domain is set to my.home-assistant.io

You should not change the urls on your home assistant to my.home-assistant.io. This is only for the domain on the Strava API

@leojcs2021
Copy link
Author

Thank you so much @craibo, it all worked out!

@craibo craibo closed this as completed Jul 7, 2022
@craibo craibo added the ha requirement Home Assistant core change forced requirement label Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ha requirement Home Assistant core change forced requirement
Projects
None yet
Development

No branches or pull requests

2 participants