Hello,
is there is way for the consumers to view the validity i.e how long the access token is still available.
OAuth 2.0 plugin is used with the following configuration:
curl -X POST http://localhost:8001/services/$serviceName/plugins
–data “name=oauth2”
–data “config.scopes=read,write”
–data “config.mandatory_scope=true”
–data “config.enable_client_credentials=true”
–data “config.token_expiration=7200” \
I understand that the access token will expire after 7200 seconds, but how can the consumers check how much time is left to use the same token.
Best regards,
Ritika