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.
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.