# Using Auth0 login with Spotify for accessing Spotify API

**URL:** <https://community.auth0.com/t/using-auth0-login-with-spotify-for-accessing-spotify-api/68965>\
**Category:** Get Help\
**Tags:** spotify, login, auth0\
**Created:** [September 1, 2021, 9:14pm UTC](https://community.auth0.com/t/using-auth0-login-with-spotify-for-accessing-spotify-api/68965 "2021-09-01T21:14:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dejstheman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dejstheman/32/31495_2.png) [@dejstheman](https://community.auth0.com/u/dejstheman)\
**Post date:** [September 1, 2021, 9:14pm UTC](https://community.auth0.com/t/using-auth0-login-with-spotify-for-accessing-spotify-api/68965/1 "2021-09-01T21:14:46Z")

</div>

Hi all,

I am using the auth0-react ask to login with Spotify. I can use the access token returned by getAccessTokenSilently to login to my auth0 protected API, but can the access token also be used to access the Spotify API?

Thank you very much for the help!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 2, 2021, 9:38pm UTC](https://community.auth0.com/t/using-auth0-login-with-spotify-for-accessing-spotify-api/68965/3 "2021-09-02T21:38:17Z")

</div>

Hi @dejstheman,

Welcome to the Auth0 Community!

You are looking for the identity provider access token. I’m not sure if spotify tokens are stored or not, but you can find them following this doc if they are:

> **[Identity Provider Access Tokens](https://auth0.com/docs/secure/tokens/access-tokens/identity-provider-access-tokens)**
>
> Understand third-party access tokens issued by identity providers after user authentication and how to use them to call the third-party APIs.

---

<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:** [September 17, 2021, 9:39pm UTC](https://community.auth0.com/t/using-auth0-login-with-spotify-for-accessing-spotify-api/68965/4 "2021-09-17T21:39:13Z")

</div>

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