mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-01 09:50:26 +01:00
[#335] added Discord OAuth2 provider
This commit is contained in:
1 parent
0b8c7f6883
commit
49b084cf50
18 files changed
+246
-149
No files matched your search
+1
-1
@@ -129,7 +129,7 @@ func (api *userApi) authMethods(c echo.Context) error {
|
||||
}
|
||||
|
||||
state := security.RandomString(30)
|
||||
codeVerifier := security.RandomString(30)
|
||||
codeVerifier := security.RandomString(43)
|
||||
codeChallenge := security.S256Challenge(codeVerifier)
|
||||
codeChallengeMethod := "S256"
|
||||
result.AuthProviders = append(result.AuthProviders, providerInfo{
|
||||
|
||||
Reference in new issue
Block a user