mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 09:54:00 +00:00
log auth request scope
This commit is contained in:
@@ -106,6 +106,8 @@ export async function GET(request: NextRequest) {
|
||||
let organization = "";
|
||||
let idpId = "";
|
||||
|
||||
console.log(`AuthRequest: ${JSON.stringify(authRequest)}`);
|
||||
|
||||
if (authRequest?.scope) {
|
||||
const orgScope = authRequest.scope.find((s: string) =>
|
||||
ORG_SCOPE_REGEX.test(s),
|
||||
|
||||
@@ -91,7 +91,6 @@ export async function createSessionForUserIdAndUpdateCookie(
|
||||
);
|
||||
|
||||
if (createdSession) {
|
||||
console.log("cs", createdSession);
|
||||
return getSession(
|
||||
createdSession.sessionId,
|
||||
createdSession.sessionToken,
|
||||
|
||||
Reference in New Issue
Block a user