Self Service Registration


#1

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


#2

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.


#3

No I am using my own custom login page

Jacob


#4

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?


#5

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


#6

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


#7

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


#8

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


#9

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


#10

@jacob
After the new user registers?


#11

Yes I think so

Jacob


#12

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


#13

any suggestions @bdemers ?


#14

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.