no token expiration?

This commit is contained in:
Kagami Sascha Rosylight 2023-06-22 01:52:13 +02:00
parent 1567a2ea3e
commit 0b3fd09bb0
1 changed files with 1 additions and 0 deletions

View File

@ -301,6 +301,7 @@ export class OAuth2ProviderService {
const accessToken = secureRndstr(128, true); const accessToken = secureRndstr(128, true);
const now = new Date(); const now = new Date();
// NOTE: we don't have a setup for automatic token expiration
await accessTokensRepository.insert({ await accessTokensRepository.insert({
id: idService.genId(), id: idService.genId(),
createdAt: now, createdAt: now,