mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 23:17:35 +00:00
return statement
This commit is contained in:
@@ -104,7 +104,7 @@ export async function GET(request: NextRequest) {
|
|||||||
if (requestId && sessionId) {
|
if (requestId && sessionId) {
|
||||||
if (requestId.startsWith("oidc_")) {
|
if (requestId.startsWith("oidc_")) {
|
||||||
// this finishes the login process for OIDC
|
// this finishes the login process for OIDC
|
||||||
await loginWithOIDCandSession({
|
return loginWithOIDCandSession({
|
||||||
serviceUrl,
|
serviceUrl,
|
||||||
authRequest: requestId.replace("oidc_", ""),
|
authRequest: requestId.replace("oidc_", ""),
|
||||||
sessionId,
|
sessionId,
|
||||||
@@ -114,7 +114,7 @@ export async function GET(request: NextRequest) {
|
|||||||
});
|
});
|
||||||
} else if (requestId.startsWith("saml_")) {
|
} else if (requestId.startsWith("saml_")) {
|
||||||
// this finishes the login process for SAML
|
// this finishes the login process for SAML
|
||||||
await loginWithSAMLandSession({
|
return loginWithSAMLandSession({
|
||||||
serviceUrl,
|
serviceUrl,
|
||||||
samlRequest: requestId.replace("saml_", ""),
|
samlRequest: requestId.replace("saml_", ""),
|
||||||
sessionId,
|
sessionId,
|
||||||
|
Reference in New Issue
Block a user