bshaffer / oauth2-server-php

A library for implementing an OAuth2 Server in php
http://bshaffer.github.io/oauth2-server-php-docs
MIT License
3.26k stars 950 forks source link

Question: How to shorten the token expires_in variable? #997

Open armqtt opened 3 years ago

armqtt commented 3 years ago

How to configure the oauth2-server-php in order to shorten the duration of token?

Thanks.

dejan9393 commented 3 years ago

there's an "access_lifetime" config option that defines access token lifetime, and an "id_lifetime" option for the ID token's lifetime if you're using OpenID Connect