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

Implement SSO login with combined link step #811

Merged
merged 2 commits into from
Mar 2, 2022
Merged

Conversation

gsoltis
Copy link
Contributor

@gsoltis gsoltis commented Mar 2, 2022

Roughly mirrors how vercel CLI obtains SSO tokens.

Also included:

  • utility oneShotServer for running a local server and receiving a single hit
  • lock down config writing a little bit to separate writing user- and repo-specific config files.

@vercel
Copy link

vercel bot commented Mar 2, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/turbo-site/6V3QGz8x51kMg8mGtao9CgT8hNTK
✅ Preview: https://turbo-site-git-gsoltis-ssologin.vercel.sh

@gsoltis gsoltis marked this pull request as ready for review March 2, 2022 18:53
if err != nil {
return "", err
}
return fmt.Sprintf("Turbo CLI on %v via %v", host, defaultSSOProvider), nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return fmt.Sprintf("Turbo CLI on %v via %v", host, defaultSSOProvider), nil
return fmt.Sprintf("Turborepo CLI on %v via %v", host, defaultSSOProvider), nil

@kodiakhq kodiakhq bot merged commit 5d8c3f1 into main Mar 2, 2022
@kodiakhq kodiakhq bot deleted the gsoltis/sso_login branch March 2, 2022 19:09
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