Implement (optional) SSO via OIDC (OpenID Connect) (#64)
This implements optional SSO via OIDC for logging in and signing up (for the first admin sign up or if sign up is allowed). The most requested feature! Tested with Authentik and Google! It includes a new `SimpleCache` interface (in-memory, using [`caches`](https://developer.mozilla.org/en-US/docs/Web/API/Window/caches)) for storing the state and code challenges. Closes #13
This commit is contained in:
@@ -24,15 +24,18 @@ form {
|
||||
}
|
||||
|
||||
.button {
|
||||
@apply inline-block rounded text-white bg-[#51a4fb] hover:bg-sky-400 hover:shadow-sm px-4 py-2;
|
||||
@apply inline-block rounded text-white no-underline font-normal bg-[#51a4fb] hover:bg-sky-400 hover:shadow-sm
|
||||
hover:no-underline px-4 py-2;
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
@apply inline-block rounded text-white bg-slate-600 hover:text-slate-900 hover:bg-slate-400 hover:shadow-sm px-4 py-2;
|
||||
@apply inline-block rounded text-white no-underline font-normal bg-slate-600 hover:text-slate-900 hover:bg-slate-400
|
||||
hover:shadow-sm hover:no-underline px-4 py-2;
|
||||
}
|
||||
|
||||
.button-danger {
|
||||
@apply inline-block rounded text-slate-50 bg-red-600 hover:text-slate-900 hover:bg-red-400 hover:shadow-md px-4 py-2;
|
||||
@apply inline-block rounded text-slate-50 no-underline font-normal bg-red-600 hover:text-slate-900 hover:bg-red-400
|
||||
hover:shadow-md hover:no-underline px-4 py-2;
|
||||
}
|
||||
|
||||
.input-field {
|
||||
|
||||
Reference in New Issue
Block a user