When invoking the token endpoint directly, under default configs, each invocation to token endpoint returns a new access token.
When the following config is set,
[oauth.token_persistence]
enable=true
it invalidates the previously generated token. Hence only the token generated from the last request to token endpoint is a valid token.
Is this behaviour expected ?
Please find the sample curl :
curl -k -X POST https://localhost:9443/oauth2/token -d "grant_type=password&username=Username&password=Password" -u "<CONSUMER_KEY>:<CONSUMER_SECRET>"
When invoking the token endpoint directly, under default configs, each invocation to token endpoint returns a new access token.
When the following config is set,
it invalidates the previously generated token. Hence only the token generated from the last request to token endpoint is a valid token.
Is this behaviour expected ?
Please find the sample curl :