Hanko Beta v0.3.2
Adding support for native Android and iOS apps and bringing Hanko to Svelte.
Mobile app support
Developers can now use Hanko for authentication when building native apps for Android and iOS. Since passkeys can also be used in native apps, this enables a seamless user experiences across websites and native apps. To make this work, we had to add support for multiple WebAuthn origins to Hanko backend. Passkeys are always bound to an "origin", and in most cases that is a domain. However, unlike websites and iOS apps, an Android app identifies itself with its APK hash during the WebAuthn ceremonies required to use passkeys. This APK hash can now be added to the list of allowed origins in the Hanko backend config. We will also release a first draft of a sample app for Android very soon to provide guidance on building native app authentication with passkeys using Hanko.
Bringing passkeys to Svelte 👋
A small bug in the library we're using for our web components prevented Hanko to work with Svelte apps. Until now. The integration guide can be found at https://docs.hanko.io/guides/svelte.
What's changed
- ci: add npm publishing/release workflows for elements and frontend-sdk by @like-a-bause in #394
- chore: use hanko preact custom element fork by @lfleischmann in #421
- ci: add missing build steps to frontend package workflows by @lfleischmann in #422
- chore: bump elements version by @lfleischmann in #423
- feat(examples): add svelte example by @lfleischmann in #424
- docs: fix typo in svelte guide by @lfleischmann in #439
- ci: fix elements workflow by adding frontend sdk build step by @lfleischmann in #440
- Adjust passkey and conditional mediation support by @bjoern-m in #446
- Fix conditional UI stops working on error by @bjoern-m in #451
- fix(hanko-auth): don't overwrite existing 'lang' property with a poss… by @bjoern-m in #450
- ci: fix elements release workflow by @lfleischmann in #452
- ci: fix elements workflow again by @lfleischmann in #453
- ci: rename elements workflow job and remove dry run flag on publish by @lfleischmann in #454
- chore(examples): bump hanko-elements version in examples by @lfleischmann in #455
- Feat allow multiple webauthn origins by @FreddyDevelop in #456
Full changelog: v0.3.1...v0.3.2