Access Token coming back undefined

232 views Asked by At

So I asked the following question a few days ago: Redirect URI not redirecting correctly

I've since gotten further along, but now I need my access token to verify a JWT.

According to this, googleUser.getAuthResponse().access_token should return the access token, but it's coming back undefined.

I'm a bit confused by all of the different ways that Sign In with Google can be implemented, so if I already have a JWT and the access token is undefined, is that OK? I'm trying to verify the JWT with the code found here, but I'm not using an X509 cert. If figured I should be able to just do it with my client_id and secret.

Can someone please help me get out of this maze? :)

0

There are 0 answers