Search code examples
wso2wso2-api-manager

the token expires when I generate another token wso2 apim 4.0.0


I have downloaded APIM 4.0.0.0 and update wso2am-4.0.0.84

When I generate my first token and consume an API it generates 200 ok, but when I generate another token, it immediately expires the first token generated, i.e. when I generate a new token the previous one expires.

only happens in update 4.0.xxx but in other versions even in 4.2.0 the tokens are still alive until they expire.


Solution

  • The solution is to add this line in deployment.toml

    [oauth.access_token]
    invoke_token_revocation_event_on_renewal = false