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 organization = "";
|
||||||
let idpId = "";
|
let idpId = "";
|
||||||
|
|
||||||
|
console.log(`AuthRequest: ${JSON.stringify(authRequest)}`);
|
||||||
|
|
||||||
if (authRequest?.scope) {
|
if (authRequest?.scope) {
|
||||||
const orgScope = authRequest.scope.find((s: string) =>
|
const orgScope = authRequest.scope.find((s: string) =>
|
||||||
ORG_SCOPE_REGEX.test(s),
|
ORG_SCOPE_REGEX.test(s),
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ export async function createSessionForUserIdAndUpdateCookie(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (createdSession) {
|
if (createdSession) {
|
||||||
console.log("cs", createdSession);
|
|
||||||
return getSession(
|
return getSession(
|
||||||
createdSession.sessionId,
|
createdSession.sessionId,
|
||||||
createdSession.sessionToken,
|
createdSession.sessionToken,
|
||||||
|
|||||||
Reference in New Issue
Block a user