mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-08 04:57:25 +01:00
[#1573] added LiveChat OAuth2 provider
Co-authored-by: Marios Antonoudiou <m.antonoudiou@celonis.com>
This commit is contained in:
1 parent
ba7c8e2108
commit
55c6bed57f
45 files changed
+336
-233
No files matched your search
@@ -126,4 +126,13 @@ func TestNewProviderByName(t *testing.T) {
|
||||
if _, ok := p.(*auth.Gitee); !ok {
|
||||
t.Error("Expected to be instance of *auth.Gitee")
|
||||
}
|
||||
|
||||
// livechat
|
||||
p, err = auth.NewProviderByName(auth.NameLivechat)
|
||||
if err != nil {
|
||||
t.Errorf("Expected nil, got error %v", err)
|
||||
}
|
||||
if _, ok := p.(*auth.Livechat); !ok {
|
||||
t.Error("Expected to be instance of *auth.Livechat")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user