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

Tn/use new authn lib #801

Merged
merged 2 commits into from
Apr 17, 2023
Merged

Tn/use new authn lib #801

merged 2 commits into from
Apr 17, 2023

Conversation

TylerNoblett
Copy link
Collaborator

The authn library has been archived, so I changed a few things to use the recommended fork

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@TylerNoblett TylerNoblett changed the base branch from main to tn/fix-authn-bug March 30, 2023 13:08
@@ -22,6 +22,25 @@ export const toKeycode = (c: string) => c.charCodeAt(0)

export const toByteArray = (s: string) => Uint8Array.from(atob(s), toKeycode)

const base64UrlToBase64 = (input: string) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the only substantial change is the the 'challenge' string is now being sent in base64url (which is just base 64 but url safe; is used instead of + and _ is used instead of /) and there are some padding differences

@jkennedyvz jkennedyvz merged commit 734f6ca into tn/fix-authn-bug Apr 17, 2023
jrozner added a commit that referenced this pull request May 6, 2023
* use new library
* upgrade to match new library spec
jrozner added a commit that referenced this pull request May 6, 2023
* use new library
* upgrade to match new library spec
@TylerNoblett TylerNoblett deleted the tn/use-new-authn-lib branch May 11, 2023 17:52
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.

2 participants