[#1573] added LiveChat OAuth2 provider

Co-authored-by: Marios Antonoudiou <m.antonoudiou@celonis.com>
This commit is contained in:
Gani Georgiev
2023-01-12 22:12:34 +02:00
parent ba7c8e2108
commit 55c6bed57f
45 changed files with 336 additions and 233 deletions
+9
View File
@@ -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")
}
}