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

OAuth flow for Home-Assistant #40

Open
Redwid opened this issue Feb 1, 2023 · 0 comments
Open

OAuth flow for Home-Assistant #40

Redwid opened this issue Feb 1, 2023 · 0 comments

Comments

@Redwid
Copy link

Redwid commented Feb 1, 2023

Why not to implement a proper oauth flow?
Home-Assistant has this ability.
I've recently set up Nest component: https://www.home-assistant.io/integrations/nest/

See that line on the page:
Add Authorized redirect URIs end enter https://my.home-assistant.io/redirect/oauth

Basically on Mercedes console side you need to put callback to your Home-Assistant instance (needs to be public accessible and probably on https), and it will return token to you.

BTW, for some reason URI for me should be https://my.home-assistant.io/auth/external/callback, and not like in documentation.

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

1 participant