# How to get Management API Access Tokens if using PKCE?

**URL:** <https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589>\
**Category:** Get Help\
**Tags:** login\
**Created:** [July 25, 2022, 1:57pm UTC](https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589 "2022-07-25T13:57:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daksh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/daksh/32/34756_2.png) [@daksh](https://community.auth0.com/u/daksh)\
**Post date:** [July 25, 2022, 1:57pm UTC](https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589/1 "2022-07-25T13:57:40Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [July 25, 2022, 3:46pm UTC](https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589/2 "2022-07-25T15:46:24Z")

</div>

Hi @daksh

See this page:

> **[Get Management API Access Tokens for Single-Page Applications](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-tokens-for-single-page-applications)**
>
> Learn about available scopes and endpoints for Management API tokens for Single-page Applications (SPAs).

John

---

<div class="post-metadata">

**Author:** ![daksh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/daksh/32/34756_2.png) [@daksh](https://community.auth0.com/u/daksh)\
**Post date:** [July 26, 2022, 6:50am UTC](https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589/4 "2022-07-26T06:50:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [July 26, 2022, 1:29pm UTC](https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589/5 "2022-07-26T13:29:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 18, 2024, 7:24pm UTC](https://community.auth0.com/t/how-to-get-management-api-access-tokens-if-using-pkce/87589/6 "2024-12-18T19:24:59Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
