mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-15 18:02:13 +00:00
add logs to login handler
This commit is contained in:
@@ -102,6 +102,7 @@ export async function GET(request: NextRequest) {
|
||||
|
||||
// works not with _rsc request
|
||||
try {
|
||||
console.log("create callack for provided session");
|
||||
const { callbackUrl } = await createCallback(
|
||||
create(CreateCallbackRequestSchema, {
|
||||
authRequestId,
|
||||
@@ -268,6 +269,7 @@ export async function GET(request: NextRequest) {
|
||||
sessionId: cookie?.id,
|
||||
sessionToken: cookie?.token,
|
||||
};
|
||||
console.log("create callack with prompt none");
|
||||
const { callbackUrl } = await createCallback(
|
||||
create(CreateCallbackRequestSchema, {
|
||||
authRequestId,
|
||||
@@ -305,6 +307,8 @@ export async function GET(request: NextRequest) {
|
||||
sessionToken: cookie?.token,
|
||||
};
|
||||
try {
|
||||
console.log("create callack - default");
|
||||
|
||||
const { callbackUrl } = await createCallback(
|
||||
create(CreateCallbackRequestSchema, {
|
||||
authRequestId,
|
||||
|
||||
Reference in New Issue
Block a user