File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,6 @@ def decode_jwt_token(token):
127127
128128 if payload .get (claims .TOKEN ) not in (claims .TOKEN_SESSION , claims .TOKEN_AUTHORIZATION ):
129129 raise InvalidTokenError ("Unknown token type" )
130- if payload .get (claims .ISSUER ) != api_settings .IDENTITY and payload .get (claims .TOKEN ) != claims .TOKEN_AUTHORIZATION :
131- raise InvalidTokenError ("Only authorization tokens are accepted from other issuers" )
132130 if not payload .get (claims .SESSION_ID ):
133131 raise MissingRequiredClaimError ("Session ID is missing." )
134132 if not payload .get (claims .USER_ID ):
Original file line number Diff line number Diff line change 1515
1616setup (
1717 name = "djangorestframework-sso" ,
18- version = "0.2.3 " ,
18+ version = "0.2.4 " ,
1919 packages = find_packages (exclude = ["tests" ]),
2020 include_package_data = True ,
2121 license = "MIT License" ,
You can’t perform that action at this time.
0 commit comments