-
Notifications
You must be signed in to change notification settings - Fork 114
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 authorized user authenticator #170
Conversation
Can add that I use the original PR #154 and it works. An important missing part in the lib. |
Thank you for the feedback. It looks like this PR will implement the same features, can you confirm that it would work for your use case? |
Am I right in assuming that this new authenticator deals with application default credentials (as replacements for service account credentials), as described here? https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login If so, may I propose renaming the types from |
I am not sure, I read this and it appears to me that with Application Default Credentials is a different thing. BTW currently inside the library there already are |
Ok, then I was wrong in assuming that :)
Alright, then it's Google's fault for using such a generic name. I shall be fine with it. |
Yes, this is the same PRs, this one is just friendly with latest version. I just checked it and was able to login using "authorized_user" key.
Google Cloud documentation on this part is a bit cloudy, here I think it's a bit clearer:
So, ADC is not a flow but a try-this, try-that until authorized. The |
Any update on this? |
Sorry for the delay, my life was a bit busy the last couple days :) |
Thanks! What is the project schedule for releases to io.crates? |
As soon as I find the time - I will try to do it later today! |
I took some ideas from #154 fixing the conflicts in hopes that this will get merged.
Thanks for providing the basis of this library!