Here is the problem I’m having:
We send email verification emails to user that sign up via self-service registration (Enable and configure a self-service registration policy | Okta). The issue we are seeing is that the “Default Redirect” is a per-org setting, not a per app setting. Thus, we can’t have a different “Default Redirect” per app. That I understand. However, the too-tip for the “Default Redirect” contains some interesting wording:
After registration, users will be redirected to the app that sent them to the registration form. In the event that no app context is provided, they will be redirected to the location selected here.
I bolded and italicized the wording I find interesting. If I am reading that correctly, it seems to imply that you can pass in an “app context” that contains the email verification link redirect.
- Is my interpretation of that wording correct? Can you pass in an “app context” that overrides the default redirect?
- If #1 is correct, how do you pass in this “app context” from the
OktaSignInwidget? I can’t seem to fined that information in the widget documentation (GitHub - okta/okta-signin-widget: Okta SignIn widget that renders the new login/auth/recovery flows). I am passing in the
clientIdof the application being used, but that doesn’t seem to be working and/or the wrong way to pass in the “app context”.