mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
WIP: Gitlab OAuth custom endpoint
This commit is contained in:
1 parent
a8e4d7a71a
commit
9ebdbc58da
10 files changed
+154
-110
No files matched your search
@@ -25,9 +25,13 @@
|
||||
"Auth0": {
|
||||
"clientSecret": "oauth2Auth0ClientSecret",
|
||||
"auth0Domain": "oauth2Auth0Domain"
|
||||
}
|
||||
},
|
||||
"GitLab": {
|
||||
"endpoint": "oauth2GitLabEndpoint"
|
||||
},
|
||||
}
|
||||
let provider = element.getAttribute("data-forms-oauth-custom");
|
||||
alert(provider);
|
||||
if (!provider || !providers.hasOwnProperty(provider)) { console.error("Provider for custom form not set or unknown") }
|
||||
let config = providers[provider];
|
||||
|
||||
|
||||
Reference in new issue
Block a user