You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even for a trial implementation, we can no longer rely on Google as our IdP because we have discovered that the "testing" mode of our Google service API does not restrict login to the app (namely, access to the basic user info provided by default in the ID token) based on test user list as originally expected. See https://issuetracker.google.com/issues/211370835#comment68 for more info on this behaviour.
So, to be able to employ any kind of "user list" to restrict queries for now, we need to use a different IdP and more generic ID token verification method.
use PyJWT library (update requirements.txt)
obtain certificate URL for Google to send a request for public keys (fetched automatically with google_auth package)
decode and validate claims of JWT manually
remove google_auth from dependencies?
The text was updated successfully, but these errors were encountered:
alyssadai
changed the title
Switch to manual JWT verification of Google-issued ID token
Switch to manual JWT verification of ID token from IdP
Nov 29, 2024
Even for a trial implementation, we can no longer rely on Google as our IdP because we have discovered that the "testing" mode of our Google service API does not restrict login to the app (namely, access to the basic user info provided by default in the ID token) based on test user list as originally expected. See https://issuetracker.google.com/issues/211370835#comment68 for more info on this behaviour.
So, to be able to employ any kind of "user list" to restrict queries for now, we need to use a different IdP and more generic ID token verification method.
google_auth
package)The text was updated successfully, but these errors were encountered: