tall-angle-41306
08/25/2023, 9:30 AM{{ .VerificationURL }} within an email template, should the URL match the value of selfservice.flows.verification.ui_url ?tall-angle-41306
08/25/2023, 9:31 AMselfservice:
flows:
verification:
ui_url: <https://example.com/verification>
enabled: true
I would expect the contents of {{ .VerificationURL }} to be <https://example.com/verification?code=123456&flow=xxx>
Instead, it always contains the path self-service eg. <https://example.com/self-service/verification?code=123456&flow=xxx>bland-eye-99092
08/25/2023, 9:35 AMtall-angle-41306
08/25/2023, 9:43 AMVerificationURL URL points to the Kratos instance, shouldn't the URL be using the public.base_url for the domain?
In the above example, <http://example.com|example.com> is our FE service, rather than Kratos.tall-angle-41306
08/25/2023, 9:44 AMmethods:
link:
enabled: true
config:
lifespan: 2h
base_url: <https://example.com>
I assume that base_url should be the same as the Kratos URL (or just remove it completely)?bland-eye-99092
08/25/2023, 9:46 AMtall-angle-41306
08/25/2023, 9:46 AMtall-angle-41306
08/25/2023, 9:54 AM