feat: SW-158 Adding route and support for Magic link

This commit is contained in:
Hrishikesh Vaipurkar
2024-07-08 11:39:36 +02:00
parent 819ac454b0
commit e36f5cd122
3 changed files with 95 additions and 1 deletions

View File

@@ -106,6 +106,11 @@ export async function GET(
* to the user which we do not want.
*/
acr_values: "acr",
/**
* The `for_origin` param is used to make Curity email login functionality working.
* Without the parameter Curity gives Internal Error issue for login with Email link.
*/
for_origin: env.PUBLIC_URL,
}
const redirectUrl = await signIn(
"curity",