uni auth remove auth type

This commit is contained in:
Maidul Islam
2024-01-25 17:08:42 -05:00
committed by Akhil Mohan
parent 13040439c3
commit 6cee8dc7e5
3 changed files with 2 additions and 3 deletions

View File

@@ -112,5 +112,5 @@ export enum SecretType {
}
export enum IdentityAuthMethod {
Univeral = "universal"
Univeral = "universal-auth"
}

View File

@@ -110,7 +110,6 @@ export const identityUaServiceFactory = ({
const newToken = await identityAccessTokenDAL.create(
{
identityId: identityUa.identityId,
authType: IdentityAuthMethod.Univeral,
isAccessTokenRevoked: false,
identityUAClientSecretId: uaClientSecretDoc.id,
accessTokenTTL: identityUa.accessTokenTTL,

View File

@@ -1,3 +1,3 @@
export enum IdentityAuthMethod {
UNIVERSAL_AUTH = "universal"
UNIVERSAL_AUTH = "universal-auth"
}