Skip to content

[pages] Add Recovery Codes and WebAuthn - #23

Merged
lukin merged 12 commits into
lukin:masterfrom
cwildfoerster:feature-webauthn
Feb 9, 2023
Merged

lukin merged 12 commits into
lukin:masterfrom
cwildfoerster:feature-webauthn

Conversation

@cwildfoerster

Copy link
Copy Markdown
Contributor

Added support for webauthn and recovery codes, based on keycloak base template. Haven't touched the frontend javascript code much, just for jQuery(...) instead of $(...), could be moved to the main script, but may need some refactoring due to alot of freemarker "injected" variabled into the code.

webauthn login

Bildschirmfoto vom 2022-11-08 15-19-05

Adding recovery codes:

Bildschirmfoto vom 2022-11-08 15-20-24

Authenticator selector

Bildschirmfoto vom 2022-11-08 15-19-45

@lukin

lukin commented Nov 13, 2022

Copy link
Copy Markdown
Owner

Thanks for your contribution. 🙂

There are some issues that need to be resolved before this PR is merged.

  • As you already pointed out, remove jQuery.
  • Import all this JS code from a separate file only for the required pages.
  • Use components instead of repeating button classes.

I'll try to find time for this.

@cwildfoerster

Copy link
Copy Markdown
Contributor Author

Thank you for your input, i'm no frontend dev, but i may try the JS stuff. For now, i just created a secondarySmall button component.

@fbrettnich

Copy link
Copy Markdown

merge?

@matt01 matt01 mentioned this pull request Jan 3, 2023
@Gurkengewuerz

Copy link
Copy Markdown

What is the current state? Can we help somehow? 👀

@lukin

lukin commented Feb 2, 2023

Copy link
Copy Markdown
Owner

Most of the client code is rewritten in TypeScript following the example of the Recovery Codes pages. I would welcome any help in testing this next week.

@Gurkengewuerz

Copy link
Copy Markdown

Sure. Just comment on this when it's ready 🙌🏼

@lukin lukin changed the title add support for webauthn and recovery codes [pages] Add Recovery Codes and WebAuthn Feb 5, 2023
@lukin
lukin merged commit 233267b into lukin:master Feb 9, 2023
@Gurkengewuerz

Copy link
Copy Markdown

Sorry that I had not found time so far. I am writing my bachelor thesis currently. Tested it after i saw your notification and lgtm.

lukin added a commit that referenced this pull request Oct 24, 2023
Co-authored-by: Anthony Lukin <anthony@lukin.dev>
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