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

Update GoogleAuthFilter with recommended GCP Service-to-Service Authentication approach #944

Open
jeremyg484 opened this issue Sep 28, 2023 · 0 comments
Assignees

Comments

@jeremyg484
Copy link
Contributor

Feature description

The current recommendation from Google for handling Service-to-Service authentication is to make use of the GCP credentials classes, which can more smoothly handle building the necessary OAuth request metadata. The library is able to make use of Application Default Credentials, and is thus more flexible, allowing testing of service-to-service authentication from a developer's local machine.

Our current approach uses the internal GCP metadata server. This server is only reachable from within a deployed GCP application, thus harder to validate and test.

GoogleAuthFilter should be updated to make better use of the GoogleCredentials that are already managed by the Micronaut GCP library.

@jeremyg484 jeremyg484 self-assigned this Sep 28, 2023
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

No branches or pull requests

1 participant