
znm48 (znm48) asked a question.
Hi
We are utilizing okta SSR to let user signup to the application (Okta-signin-widget for Angular).
The way we utilize Okta is by creating different applications for each environment of the application (DEV, STG, PRD) and configured different mapping of users as Application Attributes that matches our on-prem databases of each environment..
Our required registration flow is to let users verify his email address after filing his basic info, and upon the click of that verification email, users get redirected to our application deep link to continue his registration process. However we cant seem to figure out a way to let users redirect to that link based on each application/environment.
For Example, a user signing up on DEV environment (HTTP://dev.app.com) would want himself to be redirected to the deep link of that domain (HTTP://dev.app.com/reg/flow/2) instead of the single URL(HTTP://app.com/reg/flow/2) that we found out through forums that we can attach a redirectUri inside Activation Email template link.
This seems to be a blocker and functionality shortfall from Okta side and we cannot move forward without fulfilling this scenario.
In short, if we can only configure one application settings (as tenant level), what is the point of having multiple applications, specifically in our case, how do we support multiple environment of the app using Okta.

Hi Muhammad,
The fromUri workaround for email templates is no longer valid while the self-service registration feature is enabled. So in conclusion, the only way in which you can achieve this setup is to use a custom okta-hosted widget, if you already have a custom domain set.
https://developer.okta.com/docs/guides/custom-hosted-signin/overview/
Thanks,
Andreea Pomirleanu
Still how does that redirects users to a particular link upon clicking of verification email link?