Alexandru Gogan
unread,Jan 31, 2022, 7:55:41 AM1/31/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Endpoints
Hey everyone,
Is there a preferred approach to issue a Personal Access Token (with scopes) to a client and then be used to Authenticate successfully with Cloud Endpoints? I understand that scopes as part of a JWT is a current limitation. Tokens generated using the Firebase Authentication have an expiry of 1hr which I'd like to increase to 1 year.
The intended use is to provide a custom "token" with scopes to check to a client. So far we've defaulted to issue a separate API key for each client that wants to get access to our API (which has no personalized content/ressources available).
The intended developer experience should be similar to GitHub with a user logging into GitHub, obtaining a new PAT and being able to specify that token as part of each API request made.
All the best from Toronto,
Alex