Skip to content

Add manual mode for redirect#81

Merged
maennchen merged 2 commits intoerlef:mainfrom
LostKobrakai:bm/support-manual-redirect-handling
Apr 27, 2026
Merged

Add manual mode for redirect#81
maennchen merged 2 commits intoerlef:mainfrom
LostKobrakai:bm/support-manual-redirect-handling

Conversation

@LostKobrakai
Copy link
Copy Markdown
Contributor

This allows the plug to not do the redirect in case the application wants the oidc request to not happen inline with the current http request, but out of band e.g. in an separate window/browser/…. My usecase here is a desktop app using elixir-kit/tauri, where the login should happen in the users browser.

With the oidcc_plug igniter setup there is already a controller action, which does nothing. With the redirect_mode: :manual it can be used to do whatever it need to do to accomplish the above and let the current http request e.g. render a "waiting" page.

@maennchen maennchen merged commit eaca1d6 into erlef:main Apr 27, 2026
25 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants