Service Authentication using JWT #6677
-
Hi, Now, I'm experimenting with REST APIs and I looked in SDK code for service authentication.
I then use this JWT and use following shell script
Any idea, what I'm missing? In shell script, if I replace TOKEN with an OAuth2 generated access token, then it works. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
AFAIK google cloud storage (GCS) does not support self-signed JWTs, it requires an access token generated by https://cloud.google.com/storage/docs/authentication#oauth Note that other (all other?) Google Cloud services support self-signed JWTs. Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
How does SDK do it, if you don't mind me asking. |
Beta Was this translation helpful? Give feedback.
How does SDK do it, if you don't mind me asking.