Self Service Registration

I enabled self service registration in the dashboard and I host my own custom login page. I would like to add the “Sign Up” link to it but can’t find how that link should be formed. What does the url need to look like?

Thanks
Jacob

Are you using the Okta Sign-In widget? If so, you have to turn on the feature as part of your configuration.

features: {
    registration: true
}

See https://developer.okta.com/live-widget/ for more info.

No I am using my own custom login page

Jacob

Since the signup from is contained within the Sign-In Widget, you’d need to build your own form, then use one of our SDKs to handle creating the user. Are you using a particular language or framework?

I am using the Java sdk and the rest api.

Is there a way I can just send an prospect’s email and my token and have the email contain a link to an okta hosted sign up page?

Jacob

Adding @bdemers to this thread since he wrote the code for the Java SDK.

I am trying to avoid building my own sign up page. If needed I can do it. But what is really valuable to me is that redirect custom url that avoids having the user land on the okta app dashboard page and confusing them.

Jacob

@jacob when are you getting sent to the Okta app dashboard?

When a new user finishes the activation flow. It puts him on an okta hosted page with apps to choose from. I would rather them be redirected to my custom url (eg myapp.com).

Jacob

@jacob
After the new user registers?

Yes I think so

Jacob

Right now I have 2 options in my code. Option 1 a user without credentials is created and they get an activation email. At the end of this flow they end up at the okta hosted page.

Option 2 a user with a password and sec question is created and they get a password reset email. At the end of this flow they end at the okta hosted page.

Jacob

any suggestions @bdemers ?

Sorry for the delay @jacob,

I checked around a little, when email verification is enabled the user will be redirected (via the email link), back to the dashboard.

This is something we are working on improving @nate.barbettini, might be able to chime some additional info.

@jacob If you’re trying to change where they land after the email verification, here’s how I configured that:

  1. Go to Directory/Self-Service Registration in the Classic UI
  2. Under POST-REGISTRATION at the bottom, change the Default redirect to your Custom URL rather than the User dashboard.
1 Like

Any idea on how to do this without enabling Self-Service Registration? I have a B2B invite only SaaS and when I invite users they get the email and after they enter all their information they land on the Okta dashboard when they should be redirected back to my app.

1 Like

hello @mraible ,
the sign up link is shownig on Sign-In widget ,but when i press it i get a blank form , there is no fields on the form and also i get 501 error “https://dev-53645968.okta.com/api/v1/registration/form” I Really don’t know whats the problem !
can you please help me?
i am using Angular

Are you sure you’re using a developer account and have API access management enabled?

yes i have a developer account, but i’m not sure what does “API access management” mean
i’am new to okta, i have the OpenID Connect enabled .

If you created a developer account using the Okta CLI or at Okta Developer, you should have a developer account with API AM enabled. Workforce accounts don’t have API AM enabled by default, that’s why I asked.

My guess is you might be using Okta Identity Engine (OIE) instead of Classic. For OIE, self-service registration is not supported. So if the widget is configured for the classic pipeline in an OIE Org and you enabled, features.registration , you will get an error when clicking sign-up because /form is not an endpoint for OIE. You need to use profile enrollment instead.