Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

added pkce and fixed some bugs with authorization code grant #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schmitch
Copy link

@schmitch schmitch commented May 17, 2019

office-js had a major flaw for authorization code grant types,
it didn't send the correct payload for a token exchange
currently this fixes it by sending a correct application/x-www-form-urlencoded
request and also made it possible to configure PKCE by utilizing CryptoJS

Edit: after that I will probably take a look at refresh tokens, and might implement them as well. So that users won't need to re-login like they need in a setup with implicit flow

@msftclas
Copy link

msftclas commented May 17, 2019

CLA assistant check
All CLA requirements met.

@schmitch schmitch force-pushed the pkce-authorization-code-grant branch from cada870 to bf26eb8 Compare May 17, 2019 08:38
office-js had a major flaw for authorization code grant types,
it didn't send the correct payload for a token exchange
currently this fixes it by sending a correct application/x-www-form-urlencoded
request and also made it possible to configure PKCE by utilizing CryptoJS
@schmitch schmitch force-pushed the pkce-authorization-code-grant branch from bf26eb8 to 3e34857 Compare May 17, 2019 08:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants