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

Fix auth providers #9046

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Fix auth providers #9046

merged 1 commit into from
Mar 31, 2022

Conversation

AlexTugarev
Copy link
Member

@AlexTugarev AlexTugarev commented Mar 31, 2022

This PR unblocks setups of self-hosted installations, where login providers didn't show up after creation, i.e. login was not possible at all afterwards.

This regression was introduces in #8431 by limiting auth-provider updates to changes identified by comparing a sha of contents, but the content did not include verification status nor the ownerId property, which led to a stale state.

Fixes #8927

Fixes missing login providers for Gitpod Self-Hosted.

@AlexTugarev
Copy link
Member Author

/hold

... until 9ee97f3 is removed.

@AlexTugarev AlexTugarev marked this pull request as ready for review March 31, 2022 12:04
@AlexTugarev AlexTugarev requested a review from a team March 31, 2022 12:04
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 31, 2022
@geropl
Copy link
Member

geropl commented Mar 31, 2022

Looks good in general, please have a look at the comments for small fixes. Please ping again for ✔️

this primarily affects self-hosted installation where the `ownerId` is about to change during the initial setup of the login/git provider.
@mrsimonemms
Copy link
Contributor

mrsimonemms commented Mar 31, 2022

Have checked and this works perfectly 👍🏻

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thx for fixing this! 🙏

@AlexTugarev
Copy link
Member Author

/unhold

@roboquat roboquat merged commit bf3bddf into main Mar 31, 2022
@roboquat roboquat deleted the at/zzz-auth branch March 31, 2022 14:38
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note size/M team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve Issue With Missing Login Button - Server Component Pod
4 participants