1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-07-16 18:54:22 +02:00

[#1643] added Gitea OAuth2 provider

Co-authored-by: Steve MacLeod <sjmacleoddev@gmail.com>
This commit is contained in:
Gani Georgiev
2023-01-20 10:17:57 +02:00
parent 2a34eca07a
commit 4c73e16f54
36 changed files with 197 additions and 94 deletions

View File

@ -62,6 +62,7 @@ func TestSettingsList(t *testing.T) {
`"giteeAuth":{`,
`"livechatAuth":{`,
`"authentikAuth":{`,
`"giteaAuth":{`,
`"secret":"******"`,
`"clientSecret":"******"`,
},
@ -133,6 +134,7 @@ func TestSettingsSet(t *testing.T) {
`"giteeAuth":{`,
`"livechatAuth":{`,
`"authentikAuth":{`,
`"giteaAuth":{`,
`"secret":"******"`,
`"clientSecret":"******"`,
`"appName":"acme_test"`,
@ -193,6 +195,7 @@ func TestSettingsSet(t *testing.T) {
`"giteeAuth":{`,
`"livechatAuth":{`,
`"authentikAuth":{`,
`"giteaAuth":{`,
`"secret":"******"`,
`"clientSecret":"******"`,
`"appName":"update_test"`,