Our scenario: We’re giving folks the option to login via Keycloak on a WordPress site. We’d also like to be able to specify an arbitrary redirect URL after authentication.
That is, we’d like to be able to redirect newly authenticated users to a URL of our choosing, rather than, say, the page they started on.
We’ve accomplished something similar with other platforms by building URLs like
I’ve had luck in the past with this WP SAML Auth plugin, which did allow me to specify a redirect. But we’re not having success using that plugin to authenticate with Keycloak. Has anyone been able to get this plugin working?
I’ve also tried this OpenID Connect Generic plugin. Authentication was easy, but the plugin doesn’t seem to allow me to specify an arbitrary redirect. Anyone have experience with this plugin, and been able to add arbitrary redirects?