mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-10 05:47:57 +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
@@ -90,7 +90,7 @@ func (p *Notion) 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 Notion requires a version header for all requests
|
||||
// (https://developers.notion.com/reference/versioning).
|
||||
|
||||
Reference in new issue
Block a user