
goccg (goccg) asked a question.
I have created a custom brand where I have provided my custom domain. Now I use that domain for login into my application. (Have changed the default application for that brand’s sign-in page through settings)
Now when I add user through api using my custom domain user gets the email from that brand.
But the problem is when I add user manually from admin console or through api using default brand’s domain, in that also the activation link is containing custom domain url only which causes the user to land on my application instead of the okta dashboard.
In simple words the value of the parameter “${baseUrl}” and "${activationLink} is not changing in the code of email templates in the brand

Hello @goccg (goccg) Thank you for reacting out to our Community!
In this case you will need to update the default brand as well. With the introduction of brands, as an administrator you will need to keep both the default and custom brand updated to reflect the changes you desire.
Please also review our doc below:
https://developer.okta.com/docs/concepts/brands/
https://help.okta.com/en-us/content/topics/settings/branding.htm
Community members help others by clicking Like or Select as Best on responses. Try it today.
Earn Today: New Okta Community Badges Have Arrived
Ask the Experts: Okta Device Access Product Team Now Thru 3/22