Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: forward org ID during login and registration #293

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(changelog): support auth_type parameter
The Facebook OIDC provider now supports an auth_type parameter that
when set to "reauthenticate" will force the user to
reauthenticate (similar to `prompt=login` for other Providers).

Kratos changes: ory/kratos@7aa2e29...fc30304

Signed-off-by: Henning Perl <henning.perl@ory.sh>
  • Loading branch information
hperl committed Sep 11, 2023
commit ef61dfbaa878e54bb61bc49dd283c4d7bb6306df
2 changes: 2 additions & 0 deletions src/routes/login.ts
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ export const createLoginRoute: RouteCreator =
aal = "",
refresh = "",
return_to = "",
organization = "",
login_challenge,
} = req.query
const { frontend, kratosBrowserUrl, logoUrl } = createHelpers(req, res)
@@ -35,6 +36,7 @@ export const createLoginRoute: RouteCreator =
aal: aal.toString(),
refresh: refresh.toString(),
return_to: return_to.toString(),
organization: organization.toString(),
})

if (isQuerySet(login_challenge)) {