# Changing default Access Token API (oauth/token)

**URL:** <https://community.auth0.com/t/changing-default-access-token-api-oauth-token/76719>\
**Category:** Get Help\
**Tags:** token, token-endpoint, auth0\
**Created:** [January 20, 2022, 10:38am UTC](https://community.auth0.com/t/changing-default-access-token-api-oauth-token/76719 "2022-01-20T10:38:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/willy/32/34122_2.png) [@willy](https://community.auth0.com/u/willy)\
**Post date:** [January 20, 2022, 10:38am UTC](https://community.auth0.com/t/changing-default-access-token-api-oauth-token/76719/1 "2022-01-20T10:38:06Z")

</div>

Hello there,

I have a problem when calling the token endpoint following a connection.  
By default, the URL called is ‘oauth/token’, however, the API I am calling does not use this URL by default, and only uses ‘token’.

Is there any way to change this token request URL?  
I have no way to modify the API.

I’m using auth0-angular.

Thanks

---

<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:** [January 21, 2022, 5:58pm UTC](https://community.auth0.com/t/changing-default-access-token-api-oauth-token/76719/3 "2022-01-21T17:58:50Z")

</div>

Welcome to the Auth0 Community!

There is no way to change the name of the endpoint. If I remember correctly, endpoint naming is not addressed in the OAuth2 specification, and the server should not assume `/token`.

---

<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:** [February 5, 2022, 5:58pm UTC](https://community.auth0.com/t/changing-default-access-token-api-oauth-token/76719/4 "2022-02-05T17:58:57Z")

</div>

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