GoogleCloudPlatform / GoogleCloudPlatform/esp-v2

Authenticating with Google access token

Open
#671 1 comment 0 reactions 1 assignee Claimed by @nareddyt View on GitHub
question
Dominant language
Go
Stars
307
Forks
185
Avg merge
14h 45m
Merged PRs (30d)
6

Description

Hi. I'm trying to perform authentication on GCP API Gateway using Google access token (ya29.***, OAuth2). However, the [the documentation](https://cloud.google.com/api-gateway/docs/authenticating-users-jwt) has content on only JWT tokens. It seems it is possible to use Google ID token (which is a JWT) but I don't have it. When I try to access token, it returns the following error:

"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections"

Is there any way to use Google access token with GCP API Gateway, or is it not possible at all?

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.