Skip to content

Commit cfafcc0

Browse files
fix imports and user info
1 parent eefabfa commit cfafcc0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/python/fusionauth/fusionauth_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3688,17 +3688,15 @@ def retrieve_user_consents(self, user_id):
36883688
.get() \
36893689
.go()
36903690

3691-
def retrieve_user_info_from_access_token(self, encoded_jwt, tenant_id=None):
3691+
def retrieve_user_info_from_access_token(self, encoded_jwt):
36923692
"""
36933693
Call the UserInfo endpoint to retrieve User Claims from the access token issued by FusionAuth.
36943694
36953695
Attributes:
36963696
encoded_jwt: The encoded JWT (access token).
3697-
tenant_id: (Optional) The Id of the tenant to use for this request.
36983697
"""
36993698
return self.start_anonymous().uri('/oauth2/userinfo') \
37003699
.authorization("Bearer " + encoded_jwt) \
3701-
.url_parameter('tenantId', self.convert_true_false(tenant_id)) \
37023700
.get() \
37033701
.go()
37043702

0 commit comments

Comments
 (0)