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

Add support for SSO login #15

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Add support for SSO login #15

merged 1 commit into from
Apr 8, 2024

Conversation

hbenl
Copy link
Contributor

@hbenl hbenl commented Apr 5, 2024

No description provided.

@hbenl hbenl requested a review from bvaughn April 5, 2024 15:00
@hbenl hbenl self-assigned this Apr 5, 2024
Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 8:52am

@@ -0,0 +1 @@
export const getQueryValue = (query: string | string[] | undefined) => (Array.isArray(query) ? query[0] : query);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Since we've moved this into its own file and we're referencing it in more places now– can we rename this file and method to something more descriptive? "request" is really vague, as is "query value" – something like getValueFromArrayOrString would be clearer I think

Sign in with Google
</Button>
<Button onClick={onSSOLogin} size="large" variant="outline">
Enterprise Users: Sign in with SSO
Copy link
Contributor

Choose a reason for hiding this comment

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

nit

Suggested change
Enterprise Users: Sign in with SSO
Enterprise Users:<br/>Sign in with SSO

Also wrap both buttons in:

<div class="flex flex-col gap-2">

Before

Screenshot 2024-04-05 at 3 11 34 PM

After

Screenshot 2024-04-05 at 3 15 42 PM

@hbenl hbenl merged commit 940e334 into main Apr 8, 2024
7 of 8 checks passed
@hbenl hbenl deleted the hbenl/pro-6 branch April 8, 2024 08:58
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.

2 participants