ACUL: loginLink using ACUL domain instead of tenant domain

I’m trying to move our sign up page from Universal Login to ACUL screens. The footer on the universal login sign up has a link to log in, that redirects to that tenants login with the user’s email prefilled.

In ACUL when I attempt to do the same thing, it uses the domain where my ACUL assets are hosted, instead of my Auth0 tenant domain. Is this expected, or am I doing something wrong while configuring this?

It’s not too hard for us to store the auth0 tenant domains in our ACUL repo, and replace them, but I’d assume that should already happen out of the box.

I’m working on a signup-password screen. I get the login link using

import { useScreen} from '@auth0/auth0-acul-react/signup-password';
const { loginLink} = screen;

Say my ACUL screen is being built and hosted at the domain acul-assets.com, and my auth0 tenant domain is my-tenant.com

In universal login, that link would give me something like https://my-tenant.com/u/login/identifier?state=hKFo….`, but ACUL gives me a link like https://acul-assets.com/u/login/identifier?state=hKFo… which doesn’t work.

I hadn’t noticed that loginLink was actually a relative URL. It was just /u/login… so the link was appending the host URL to it.

Constructing it as a proper URL first fixed this for me - not an Auth0/ACUL issue after all

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.