feat: add Bilibili OAuth (#720)

* implemented bilibili oauth

* add bilibili oauth

* add document address

* add frontend page

* uncheck
This commit is contained in:
Jiakuan Li
2022-05-12 10:07:52 +08:00
committed by GitHub
parent c5c3a08aa9
commit 3ad4b7a43c
7 changed files with 265 additions and 1 deletions

View File

@ -88,6 +88,8 @@ func GetIdProvider(typ string, subType string, clientId string, clientSecret str
return NewOktaIdProvider(clientId, clientSecret, redirectUrl, hostUrl)
} else if isGothSupport(typ) {
return NewGothIdProvider(typ, clientId, clientSecret, redirectUrl)
} else if typ == "Bilibili" {
return NewBilibiliIdProvider(clientId, clientSecret, redirectUrl)
}
return nil