Skip to content

Commit 27bd0af

Browse files
n2ygkauvipy
authored andcommitted
doc: missing argument to get_userinfo_claims
1 parent 9d2aac2 commit 27bd0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/oidc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ token, so you will probably want to re-use that::
267267
class CustomOAuth2Validator(OAuth2Validator):
268268

269269
def get_userinfo_claims(self, request):
270-
claims = super().get_userinfo_claims()
270+
claims = super().get_userinfo_claims(request)
271271
claims["color_scheme"] = get_color_scheme(request.user)
272272
return claims
273273

0 commit comments

Comments
 (0)