feat(auth): Make token auth default (#6305)
**What** - make token auth the default being returned from authentication endpoints in api-v2 - Add `auth/session` to convert token to session based auth - add regex-scopes to authenticate middleware Co-authored-by: Sebastian Rindom <7554214+srindom@users.noreply.github.com>
This commit is contained in:
co-authored by
Sebastian Rindom
parent
96ba49329b
commit
e2738ab91d
@@ -76,16 +76,6 @@ export interface IAuthModuleService extends IModuleService {
|
||||
sharedContext?: Context
|
||||
): Promise<AuthUserDTO>
|
||||
|
||||
generateJwtToken(
|
||||
authUserId: string,
|
||||
scope: string,
|
||||
options?: JWTGenerationOptions
|
||||
): Promise<string>
|
||||
retrieveAuthUserFromJwtToken(
|
||||
token: string,
|
||||
scope: string
|
||||
): Promise<AuthUserDTO>
|
||||
|
||||
listAuthUsers(
|
||||
filters?: FilterableAuthProviderProps,
|
||||
config?: FindConfig<AuthUserDTO>,
|
||||
|
||||
Reference in New Issue
Block a user