Add OAuth2 authentication (#147)

- Added Site settings > Authentication section
- Create/edit/delete your custom oauth2 configurations
- Login or signup with oauth2
This commit is contained in:
Riccardo Graziosi
2022-08-05 18:15:17 +02:00
committed by GitHub
parent 3bda6dee08
commit 4c73b398e8
65 changed files with 2096 additions and 129 deletions

View File

@@ -0,0 +1,57 @@
.authenticationIndexPage {
h2 { @extend .mb-3; }
.oauthProvidersTitle {
@extend .d-flex;
button {
@extend .ml-2;
height: min-content;
}
}
.oAuthsList {
@extend .pl-1;
list-style: none;
.oAuthListItem {
@extend
.d-flex,
.justify-content-between,
.my-2,
.p-3;
.oAuthInfo {
@extend .d-flex;
column-gap: 32px;
.oAuthLogo { border-radius: 100%; align-self: center; }
.oAuthName { font-size: 18px; }
}
.oAuthActions {
align-self: center;
a {
@extend .link;
}
}
}
}
}
.authenticationFormPage {
a.backButton {
@extend .mb-2;
font-size: 18px;
}
a.link {
@extend .link;
}
}