okta-auth-js icon indicating copy to clipboard operation
okta-auth-js copied to clipboard

Self-Service Registration without Sign-in widget

Open jakehockey10 opened this issue 3 years ago • 3 comments

I'm having trouble determining if allowing a user to sign up (not sign in) is possible through this library. The API reference doesn't seem to have a method for this. But if I use the Sign-in Widget, I'm able to add a signup link to that UI. I would like to customize my UI and use my own Angular form for this. Is this possible? If so, how?

jakehockey10 avatar May 07 '21 17:05 jakehockey10

@jakehockey10 okta-auth-js does not currently support self service registration, although this will be supported in an upcoming version. The signin widget is hitting the api directly, hopefully these links can help:

https://developer.okta.com/docs/reference/api/users/#create-user https://github.com/okta/okta-signin-widget/blob/master/src/RegistrationController.js#L70 https://developer.okta.com/blog/2018/02/06/build-user-registration-with-node-react-and-okta

aarongranick-okta avatar May 07 '21 21:05 aarongranick-okta

Is there a way to redirect to an Okta hosted self service registration page for now? If not, are there any docs on creating a url for them to land on an Okta hosted page, finish account creation, and come back to initiate sign in separately?

I'm looking for the sign up equivalent of https://github.com/okta/okta-auth-js#tokengetwithredirectoptions or https://github.com/okta/okta-auth-js#signinwithredirectoptions.

OzzieOrca avatar Aug 06 '21 21:08 OzzieOrca

Any info on the "upcoming version"? We're having to write instructions in our app telling the user to click sign in and then once on the Okta page, click sign up.... We'd like to replace that bad UX as soon as possible. Thanks :)

OzzieOrca avatar Sep 14 '21 23:09 OzzieOrca