OpenID Connect SSO plugin

Started by lachee, September 13, 2025, 07:28:42 AM

Previous topic - Next topic
Update on the problem:
Login with my Authentik works if I use the link https://<my_opnsense_hostname>/api/oidc/auth/login?provider=openid
But no button

Cheers,
Giacomo

Quote from: l3golas on April 11, 2026, 02:41:26 PMLogin with my Authentik works if I use the link https://<my_opnsense_hostname>/api/oidc/auth/login?provider=openid
But no button

This works for me:
%url%
  %icon%
  Login with %name%
</a>

<style>
.login-sso-link-container {
  display: flex;
  justify-content: end;
  margin-bottom: 20px;
}

.btn-primary {
  width: 100%;
  height: 35px !important;
  margin-top: 20px;
}
</style>

or this one if you don't use an icon:
%url%
  Login with %name%
</a>

<style>
.login-sso-link-container {
  display: flex;
  justify-content: end;
  margin-bottom: 20px;
}

.login-sso-link-container .btn-primary {
  width: 100%;
  height: 35px !important;
  margin-top: 20px;
}
</style>


Quote from: lachee on September 13, 2025, 07:28:42 AMPlease let me know what you think :)

I love it! Thank you.
Not having OIDC in the community edition was a real bummer. Until I saw your plugin.