mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-16 00:38:06 +01:00
added option to retrieve the OIDC user info from the id_token payload
This commit is contained in:
1 parent
95d5ee40b0
commit
3c87df9e55
40 files changed
+465
-218
No files matched your search
@@ -85,7 +85,7 @@ func (p *Twitch) FetchAuthUser(token *oauth2.Token) (*AuthUser, error) {
|
||||
return user, nil
|
||||
}
|
||||
|
||||
// FetchRawUserInfo implements Provider.FetchRawUserInfo interface.
|
||||
// FetchRawUserInfo implements Provider.FetchRawUserInfo interface method.
|
||||
//
|
||||
// This differ from BaseProvider because Twitch requires the Client-Id header.
|
||||
func (p *Twitch) FetchRawUserInfo(token *oauth2.Token) ([]byte, error) {
|
||||
|
||||
Reference in new issue
Block a user