feat: Add Google Cloud Identity Platform authenticator [2/4]#1123
Merged
jcscottiii merged 1 commit intomainfrom Feb 4, 2025
Merged
feat: Add Google Cloud Identity Platform authenticator [2/4]#1123jcscottiii merged 1 commit intomainfrom
jcscottiii merged 1 commit intomainfrom
Conversation
ceb21be to
048cb0e
Compare
jrobbins
approved these changes
Feb 4, 2025
Base automatically changed from
jcscottiii/add-placeholder-routes-for-saved-search
to
main
February 4, 2025 14:01
Background: In a future PR, we will introduce an authenticator http middleware that will call Authenticate. This change is the Google Cloud Identity Platform (GCIP) implementation of that Authenticate interface. GCIP uses firebase under the hood. This implementation comes straight from the admin SDK docs: https://firebase.google.com/docs/auth/admin/verify-id-tokens#go This change also adds a new User type that the middleware will expect. Other changes: - Run go mod tidy on each package via `make go-tidy` - Needed after importing `firebaseauth.Token` into `lib`
048cb0e to
77c4af8
Compare
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background: In a future PR, we will introduce an authenticator http middleware that will call Authenticate.
This change is the Google Cloud Identity Platform (GCIP) implementation of that Authenticate interface.
GCIP uses firebase under the hood. This implementation comes straight from the admin SDK docs: https://firebase.google.com/docs/auth/admin/verify-id-tokens#go
This change also adds a new User type that the middleware will expect.
Other changes:
make go-tidy- Needed after importingfirebaseauth.TokenintolibThis is a split up of #1118