share auth providers UI configurations

This commit is contained in:
Gani Georgiev
2022-09-01 15:49:00 +03:00
parent f0b57c6b91
commit f56c52a1f7
3 changed files with 59 additions and 44 deletions

31
ui/src/providers.js Normal file
View File

@@ -0,0 +1,31 @@
// Object list with all supported OAuth2 providers in the format:
// ```
// { settingsKey: { title, icon, selfHosted } }
// ```
export default {
googleAuth: {
title: "Google",
icon: "ri-google-line",
},
facebookAuth: {
title: "Facebook",
icon: "ri-facebook-line",
},
twitterAuth: {
title: "Twitter",
icon: "ri-twitter-line",
},
githubAuth: {
title: "GitHub",
icon: "ri-github-line",
},
gitlabAuth: {
title: "GitLab",
icon: "ri-gitlab-line",
selfHosted: true,
},
discordAuth: {
title: "Discord",
icon: "ri-discord-line",
},
};