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
when using oauth2 with a google service account, it would be simpler, if the dev could supply their google service account json file.
said file includes the following properties:
this does not include every field that is required to request a jwt. for example, what you are calling the tenant (google calls it the sub), the scopes, and key would also be required to support a google service account.
The text was updated successfully, but these errors were encountered:
macMikey
changed the title
add support for the google service account json file
oauth2: add support for the google service account json file
Jun 18, 2024
if you're cool with it, i propose changing the OAuth2Provicer class behavior as follows:
if name is "Google" and permission is "service", use a property called something like googleServiceAccountKey, or serviceAccountKey, which is the json that google gives you when you create a service account, and use that to populate the various properties of the object, including adding the jit header.
when using oauth2 with a google service account, it would be simpler, if the dev could supply their google service account json file.
said file includes the following properties:
this does not include every field that is required to request a jwt. for example, what you are calling the tenant (google calls it the sub), the scopes, and key would also be required to support a google service account.
The text was updated successfully, but these errors were encountered: