You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
data-model: make the access token expiration optional
This commit is contained in:
@@ -209,7 +209,7 @@ pub(crate) async fn post(
|
||||
client_id: Some(session.client_id.to_string()),
|
||||
username,
|
||||
token_type: Some(OAuthTokenTypeHint::AccessToken),
|
||||
exp: Some(token.expires_at),
|
||||
exp: token.expires_at,
|
||||
iat: Some(token.created_at),
|
||||
nbf: Some(token.created_at),
|
||||
sub,
|
||||
|
||||
Reference in New Issue
Block a user