mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +00:00
fix(authz): clarify where to ask support when a token doesn't work
This commit is contained in:
parent
911cb42d70
commit
df935ba28a
@ -113,7 +113,7 @@ func VerifyTokenAndCreateCtxData(ctx context.Context, token, orgID, orgDomain st
|
||||
var sysTokenErr error
|
||||
sysMemberships, userID, sysTokenErr = t.VerifySystemToken(ctx, tokenWOBearer, orgID)
|
||||
if sysTokenErr != nil || sysMemberships == nil {
|
||||
return CtxData{}, zerrors.ThrowUnauthenticated(errors.Join(err, sysTokenErr), "AUTH-7fs1e", "Errors.Token.Invalid")
|
||||
return CtxData{}, zerrors.ThrowUnauthenticated(errors.Join(err, sysTokenErr), "ELIO-7fs1e", "Errors.Token.Invalid")
|
||||
}
|
||||
}
|
||||
projectID, err := projectIDAndCheckOriginForClientID(ctx, clientID, t)
|
||||
|
Loading…
Reference in New Issue
Block a user