safe-client-gateway
safe-client-gateway copied to clipboard
Set AUTH_VALIDITY_PERIOD_SECONDS as access token default validity
Summary
This PR modifies the service to take the value AUTH_VALIDITY_PERIOD_SECONDS
from the configuration as a default value for the exp
attribute of the issued JWTs (and also the maxAge
) value for the auth cookies.
Changes
- Takes
AUTH_VALIDITY_PERIOD_SECONDS
as the default value when not specified by the client on the SiWE message. - Increases the default for this value to 24 hours.