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

maintain: google idp experience #2901

Merged
merged 2 commits into from
Aug 26, 2022
Merged

Conversation

BruceMacD
Copy link
Collaborator

@BruceMacD BruceMacD commented Aug 10, 2022

  • align CLI and UI setup
  • give info about private key in ui

Summary

Improving the understandability of the Google provider setup experience. This change makes the CLI match the UI (both prompt for the service account key file), gives extra context in the UI, and improves flag naming for the domain admin.

Screen Shot 2022-08-10 at 11 26 08 AM

Checklist

  • Wrote appropriate unit tests
  • Considered security implications of the change
  • Updated associated docs where necessary
  • Updated associated configuration where necessary
  • [] Change is backwards compatible if it needs to be (user can upgrade without manual steps?)
  • Nothing sensitive logged
  • Considered data migrations for smooth upgrades

Related Issues

Resolves #2747

- align CLI and UI setup
- give info about private key in ui
func parsePrivateKey(key string) (string, error) {
if json.Valid([]byte(key)) {
// parsePrivateKey checks if a service account key file was passed in and parses information from it
func parsePrivateKey(opts *providerAPIOptions) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like moving providerAPIOptions into here makes it a little less reusable, but it seems ok.

@BruceMacD BruceMacD merged commit a88f822 into main Aug 26, 2022
@BruceMacD BruceMacD deleted the brucemacd/align_cli_ui_google branch August 26, 2022 15:16
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.

Docs: the docs for the google workspace id integration are confusing
2 participants