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

chore: swap google_login key for social_sso #17634

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

raquelmsmith
Copy link
Member

Problem

We offer more than just Google login as social SSO providers, so are changing the name to social_sso (and updating feature details https://github.com/PostHog/billing/pull/365).

Changes

  • Swaps references of google_login with social_sso.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

@@ -859,7 +859,7 @@ def get_instance_available_sso_providers() -> Dict[str, bool]:
"SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET",
None,
):
if bypass_license or (license is not None and AvailableFeature.GOOGLE_LOGIN in license.available_features):
if bypass_license or (license is not None and AvailableFeature.SOCIAL_SSO in license.available_features):
Copy link
Member Author

Choose a reason for hiding this comment

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

This should only impact licensed self-hosted instances that aren't our cloud. I don't think we have any more of those? cc @simfish85

@raquelmsmith raquelmsmith merged commit abcfdab into master Sep 27, 2023
72 checks passed
@raquelmsmith raquelmsmith deleted the chore/change-google-login-social-sso branch September 27, 2023 20:06
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

Successfully merging this pull request may close these issues.

1 participant