Skip to content

Conversation

@abhidnya13
Copy link
Contributor

  • This PR corrects the cache look up logic which was case sensitive for 'target' field in the cache.
  • It ensures that in scopes comparison when finding token cache User.Read and user.read is not differentiated.
  • This change was found when testing Reading Authority Aliases #25 as scopes comparison would not return an Access Token and would then use Refresh token to acquire a new Access token.

Copy link
Contributor

@navyasric navyasric left a comment

Choose a reason for hiding this comment

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

No comments from me.

@abhidnya13 abhidnya13 requested a review from henrik-me March 27, 2019 19:32
Copy link

@henrik-me henrik-me left a comment

Choose a reason for hiding this comment

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

:shipit:

@rayluo rayluo changed the title Cache lookup change Cache lookup change (On Hold) Mar 30, 2019
@rayluo
Copy link
Contributor

rayluo commented Jun 1, 2022

Scope in OAuth2 is defined as case-sensitive. Better not relax this check from our implementation.

@rayluo rayluo closed this Jun 1, 2022
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.

5 participants