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

Initial setup is long. #572

Closed
martinmake opened this issue Nov 1, 2020 · 3 comments
Closed

Initial setup is long. #572

martinmake opened this issue Nov 1, 2020 · 3 comments

Comments

@martinmake
Copy link

martinmake commented Nov 1, 2020

You could probably use PKCE: https://tools.ietf.org/html/rfc7636
Then the user will not have to get and store the secret key and they'll still be able to get a refresh token.
Another plus is that you will get to see usage metrics in your dashboard.

@martinmake martinmake changed the title Initial setop is . Initial setup is long. Nov 1, 2020
@dbarnett dbarnett added this to the 4.5 milestone Aug 25, 2024
@dbarnett
Copy link
Collaborator

Do you know if this still applies if each user needs to set up their own oauth client with its own ID/secrets?

AFAICT it's not a viable option anymore to maintain a single shared client ID everyone can use due to Google's usage limits and security restrictions. In that model the Cloud Console setup has to be manual instructions AFAIK, and the one bit of somewhat annoying copy-paste is copying over client-id/client-secret after creating auth client & token, but I'm not following if PKCE offers a way to streamline just that step.

@dbarnett
Copy link
Collaborator

Or maybe gcloud cli has commands to streamline a few of the steps for those who have it installed and authenticated?

@dbarnett
Copy link
Collaborator

Closing as infeasible.

If anyone has details on how we could actually use PKCE in practice or other ways to streamline setup, please follow up here or in some other issue.

@dbarnett dbarnett closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2024
@dbarnett dbarnett removed this from the 4.5 milestone Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants