v0.3.2
版本发布时间: 2022-12-15 17:55:02
teamhanko/hanko最新发布版本:backend/v1.0.2(2024-08-28 21:14:06)
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 https://github.com/teamhanko/hanko/pull/394
- chore: use hanko preact custom element fork by @lfleischmann in https://github.com/teamhanko/hanko/pull/421
- ci: add missing build steps to frontend package workflows by @lfleischmann in https://github.com/teamhanko/hanko/pull/422
- chore: bump elements version by @lfleischmann in https://github.com/teamhanko/hanko/pull/423
- feat(examples): add svelte example by @lfleischmann in https://github.com/teamhanko/hanko/pull/424
- docs: fix typo in svelte guide by @lfleischmann in https://github.com/teamhanko/hanko/pull/439
- ci: fix elements workflow by adding frontend sdk build step by @lfleischmann in https://github.com/teamhanko/hanko/pull/440
- Adjust passkey and conditional mediation support by @bjoern-m in https://github.com/teamhanko/hanko/pull/446
- Fix conditional UI stops working on error by @bjoern-m in https://github.com/teamhanko/hanko/pull/451
- fix(hanko-auth): don't overwrite existing 'lang' property with a poss… by @bjoern-m in https://github.com/teamhanko/hanko/pull/450
- ci: fix elements release workflow by @lfleischmann in https://github.com/teamhanko/hanko/pull/452
- ci: fix elements workflow again by @lfleischmann in https://github.com/teamhanko/hanko/pull/453
- ci: rename elements workflow job and remove dry run flag on publish by @lfleischmann in https://github.com/teamhanko/hanko/pull/454
- chore(examples): bump hanko-elements version in examples by @lfleischmann in https://github.com/teamhanko/hanko/pull/455
- Feat allow multiple webauthn origins by @FreddyDevelop in https://github.com/teamhanko/hanko/pull/456
Full changelog: https://github.com/teamhanko/hanko/compare/v0.3.1...v0.3.2