mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 13:27:22 +00:00
uni auth remove auth type
This commit is contained in:
committed by
Akhil Mohan
parent
13040439c3
commit
6cee8dc7e5
@@ -112,5 +112,5 @@ export enum SecretType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export enum IdentityAuthMethod {
|
export enum IdentityAuthMethod {
|
||||||
Univeral = "universal"
|
Univeral = "universal-auth"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -110,7 +110,6 @@ export const identityUaServiceFactory = ({
|
|||||||
const newToken = await identityAccessTokenDAL.create(
|
const newToken = await identityAccessTokenDAL.create(
|
||||||
{
|
{
|
||||||
identityId: identityUa.identityId,
|
identityId: identityUa.identityId,
|
||||||
authType: IdentityAuthMethod.Univeral,
|
|
||||||
isAccessTokenRevoked: false,
|
isAccessTokenRevoked: false,
|
||||||
identityUAClientSecretId: uaClientSecretDoc.id,
|
identityUAClientSecretId: uaClientSecretDoc.id,
|
||||||
accessTokenTTL: identityUa.accessTokenTTL,
|
accessTokenTTL: identityUa.accessTokenTTL,
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export enum IdentityAuthMethod {
|
export enum IdentityAuthMethod {
|
||||||
UNIVERSAL_AUTH = "universal"
|
UNIVERSAL_AUTH = "universal-auth"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user