How to get Management API Access Tokens if using PKCE?

My app is sing page application without any server. I am using PKCE for authorization. I manage to get access token but now I want to call google api’s from it. I already linked google project with it and give the permissions but it seems the access token from PKCE is not what I need. I need Management API Access Token and then using this I can get google access token.

Thanks for helping!

Hi @daksh

See this page:

John

1 Like

Is it possible to use scope read:user_idp_tokens when using PKCE to authenticate and authorize

Hi @daksh

I don’t think it is. If you are going past the capabilities of the limited Mgmt API access available to a SPA, you probably should create an API and do the mgmt API access from the API (and the SPA calls the API of course).

John