Skip to content

Conversation

@guyp-descope
Copy link
Contributor

fix the jet response object returned during validate_session_request so it will now include the adjusted permissions,roles,projectID,userID fields (so it will be just the same as returned from verify_code)

@github-actions
Copy link

github-actions bot commented Oct 11, 2022

Coverage

Coverage Report
FileStmtsMissCoverMissing
descope
   auth.py2561395%55, 228–234, 403, 446, 471–472, 489–496
   descope_client.py91496%237, 252–257
TOTAL7981798% 

Tests Skipped Failures Errors Time
69 0 💤 1 ❌ 0 🔥 2.647s ⏱️

asafshen
asafshen previously approved these changes Oct 11, 2022
Copy link
Member

@asafshen asafshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good 👍
added some minor comments

also, making sure this is aligned (or soon to be aligneD) with other sdks logic, right?

@guyp-descope
Copy link
Contributor Author

looks good 👍 added some minor comments

also, making sure this is aligned (or soon to be aligneD) with other sdks logic, right?

Its not relevant for other sdk
we choose to have those only in Python.

Copy link
Member

@asafshen asafshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

@asafshen
Copy link
Member

Its not relevant for other sdk
we choose to have those only in Python.

our of curiosity - why?

@guyp-descope
Copy link
Contributor Author

Because in other languages we have a different structs and the data organized in different way as you may know.

…so it will now include the adjusted permissions,roles,projectID,userID fields (so it will be just the same as returned from verify_code)
@omercnet omercnet force-pushed the fix-jwt-response-object-on-validate-request branch from 6d16079 to 9cceb1f Compare October 18, 2022 09:18
@guyp-descope guyp-descope merged commit 655eae5 into main Oct 18, 2022
@guyp-descope guyp-descope deleted the fix-jwt-response-object-on-validate-request branch October 18, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants