mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
feat: add Bilibili OAuth (#720)
* implemented bilibili oauth * add bilibili oauth * add document address * add frontend page * uncheck
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user