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

Bypass my-panel for OAuth2 callback #254

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Bypass my-panel for OAuth2 callback #254

merged 1 commit into from
Jun 30, 2022

Conversation

balloob
Copy link
Member

@balloob balloob commented Jun 30, 2022

OAuth2 callback endpoint in Home Assistant does not require authentication. Instead the authentication is contained in the state parameter which will be validated separately.

This PR will bypass the My panel for the OAuth2 callback and directly link to the AOuth2 callback endpoint in Home Assistant. This makes it work for users that do not store their login.

Fixes home-assistant/core#73625

image

@balloob balloob merged commit c974fdb into main Jun 30, 2022
@balloob balloob deleted the bypass-panel-oauth branch June 30, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

My Home Assistant OAuth redirect fails with "Unknown Error Occurred" when not using "Keep me logged in"
3 participants