log auth request scope

This commit is contained in:
peintnermax
2024-07-30 14:31:38 +02:00
parent 8b88347d1a
commit d996f5b4e5
2 changed files with 2 additions and 1 deletions

View File

@@ -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),

View File

@@ -91,7 +91,6 @@ export async function createSessionForUserIdAndUpdateCookie(
);
if (createdSession) {
console.log("cs", createdSession);
return getSession(
createdSession.sessionId,
createdSession.sessionToken,