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

Do not require tenant creation for SSO users #1411

Merged
merged 8 commits into from
Jan 7, 2025

Conversation

travjenkins
Copy link
Member

@travjenkins travjenkins commented Jan 3, 2025

Issues

#1391

Changes

1391

  • Add alerting when SSO user hits the tenant guard

Tests

Manually tested

  • scenarios you manually tested

Automated tests

  • unit testing covered

Playwright tests ran locally

  • Admin
  • Captures
  • Collections
  • HomePage
  • Login
  • Materialization

Screenshots

Show alert and hide tenant creation form when using SSO

image

Users can still access the tenant creation using URL params

image

OAuth users are not impacted

image

Comment on lines +30 to +32
if (usedSSO && !showBeta) {
return <SsoUserMessage />;
}
Copy link
Member Author

@travjenkins travjenkins Jan 3, 2025

Choose a reason for hiding this comment

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

Allowing folks to still force show the sign up flow.

@travjenkins travjenkins changed the title Travjenkins/feature/do not ask sso for tenant Do not require tenant creation for SSO users Jan 3, 2025
Providing a clickable URL
@travjenkins travjenkins marked this pull request as ready for review January 3, 2025 20:36
@travjenkins travjenkins requested a review from a team as a code owner January 3, 2025 20:36
Copy link
Member

@kiahna-tucker kiahna-tucker left a comment

Choose a reason for hiding this comment

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

Approved with minimal testing.

src/lang/en-US/LoggingIn.ts Outdated Show resolved Hide resolved
src/lang/en-US/LoggingIn.ts Outdated Show resolved Hide resolved
src/app/guards/TenantGuard/SsoUserMessage.tsx Outdated Show resolved Hide resolved
renaming file
sharing variables
…so-for-tenant' into travjenkins/feature/do-not-ask-sso-for-tenant
@travjenkins travjenkins merged commit d77ae76 into main Jan 7, 2025
3 checks passed
@travjenkins travjenkins deleted the travjenkins/feature/do-not-ask-sso-for-tenant branch January 7, 2025 15:28
@travjenkins travjenkins added the change:planned This is a planned change label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:planned This is a planned change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants