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

Adds PKCE public methods #567

Closed
wants to merge 10 commits into from
Closed

Conversation

aarongranick-okta
Copy link
Contributor

@aarongranick-okta aarongranick-okta commented Dec 17, 2020

Adds 2 new methods to token API:

  • prepareTokenParams(params: TokenParams): Promise;
  • exchangeCodeForToken(params: TokenParams, urls?: CustomUrls): Promise;
    This method accepts authorizationCode or interactionCode

Adds a new API pkce with properties:

  • DEFAULT_CODE_CHALLENGE_METHOD: string;
  • generateVerifier(prefix: string): string;
  • computeChallenge(str: string): PromiseLike;

Now only using loadMeta/saveMeta for redirect flow.

@shuowu
Copy link
Contributor

shuowu commented Dec 17, 2020

Need changelog for 4.5.0 release.

@aarongranick-okta aarongranick-okta marked this pull request as ready for review December 17, 2020 19:47
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.

4 participants