Repository navigation
Release v1.27.2
v1.27.2
Changelog
QR login Stimulus targets resolved, approve link always shown, reset request links the code page, override namespace fixed in the docs. See UPGRADING.
Fixed
- Override namespace in the docs:
docs/TEMPLATES.md,USAGE.md,CONFIGURATION.md,UPGRADING.md, the README
and theweb_ui.templatesconfig info documented{% extends '@!NowoAuthKitBundle/...' %}, which fails with "There
are no registered paths for namespace "!NowoAuthKitBundle"". The bundle-original namespace is@!NowoAuthKit/...
(Symfony's "!" namespace of the bundle); every snippet now uses it.AuthPagesKernelTestasserts the documented
namespace resolves and that no doc mentions the wrong one. - QR challenge with a Stimulus controller: with
web_ui.qr_login.stimulus_controllerset,data-controllerand
thedata-<id>-*-valueattributes were on the challenge root while thecontinueandretrytargets render in the
form actions, outside it, so Stimulus never found them. The controller attributes now sit on the auth panel
(AuthPage::attributes, built by the newAuthPageFactory::stimulusAttributes()), the common ancestor of the
challenge and of the actions.PageContractTestasserts everydata-<id>-targetis a descendant of the controller
element. - Password reset request links the code page: with
password_reset.delivery: codeorboththe reset request
page now links the code-entry page ("I already have a code",reset.request.enter_code, all 7 locales) before "Back
to sign in".delivery: linkis unchanged. - QR approve link always offered: "Open approve link on your phone" was rendered only without a QR image. It is
now also rendered next to the image ([data-nowo-auth-kit-qr-region="link"], Stimulus targetlink) for the
same-device flow and screen readers; without an image it stays theimageregion as before.
Full Changelog: v1.27.1...v1.27.2