Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] : Add PKCE for Authorization Code Flow #6

Merged
merged 2 commits into from Dec 15, 2021
Merged

[Feat] : Add PKCE for Authorization Code Flow #6

merged 2 commits into from Dec 15, 2021

Conversation

Muhesh7
Copy link
Owner

@Muhesh7 Muhesh7 commented Dec 15, 2021

In this PR,

  • To Secure clients using Authorization Code Flow from intercept attack PKCE is added.
    • Instead of client_secret, client app sends code_challenge in authorizationEndPoint.
      • code_challenge is a SHA256 encoded string of code_verifier.
      • code_verifier is a long string which can be provided by client else it is auto-generated by the package.
    • Then code_verifier and the code received as response fromauthorizationEndPoint is passed to tokenEndPoint to receive the access_token.
  • Updated README.md and CHANGELOGS.md

@Muhesh7 Muhesh7 merged commit 1731d4a into main Dec 15, 2021
@Muhesh7 Muhesh7 deleted the version branch December 15, 2021 15:03
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.

None yet

1 participant