Build User Registration with Node, React, and Okta

Pierce Krouse

I thought I had a disk quota problem…
cat /usr/include/asm-generic/errno.h |grep 122
#defineEDQUOT122/* Quota exceeded */
This was harder to find in google than I thought it would, oh well.
I had my IT department look into it, and I have 3 TB of storage available, so this is not a disk quota problem.

Can someone provide exact versions to install for the software packages?

leebrandt

I just ran through it with Node 13.11 and it works okay. The (code 122) in your error seems to indicate something interrupting calls (like anti-virus, or firewall) have you checked to make sure there’s not something there killing the install?

Pierce Krouse

Thank you Lee. My problem was errors on my part entirely, and I finally got it sorted. Thanks for checking though – much appreciated.

Jesse W

getting the same error, anyone else manage to solve?

Jesse W

getting a 401 and 400 error when i try and do user sign up, i followed password rules as mentioned below.
any ideas? :frowning: https://uploads.disquscdn.c…

Matt Raible

Did you enable user registration in the Okta Admin Console? It’s under Directory > Self-Service Registration.

Jesse W

Yes. I have a new issue now(?) I’ll tag you on the post

Jesse W

@mattraible

I was also curious about the Fetch statement on the RegistrationForm.js file. The line says fetch(’/api/users’, {

The path for that file though is api/routes/users? I am confused :frowning:

Jesse W

Ok no idea why but it is working now. I am noticing though it signs up the users to my People section, but I have to manually assign them to my Application. I am guessing though that is another problem to solve (not in this tutorial?)

Thank you!

Matt Raible

This might be from a recent change where apps aren’t assigned to the Everyone group by default. You might need to configure your app or self-service registration for groups. The previous behavior of auto-assigning apps to the everyone group will be restored on April 15.

Jesse W

yay it’s working, thank you!

Kamme

Okta UI has changed so drastically that I am completely lost trying to figure out how to implement what is in the tutorial.

Matt Raible

Yes, you are correct. This post is three years old and when we updated the UI, we decided to only update posts that are two years old or newer. A Quick Guide to React Login Options is a more recent post that might help.

Anuj Mehta

I’m having issues with seeing the request being posted to the api. The API receives an empty body from the front end. I’ve logged the body to the console before I submit and it looks like everything is well formatted but for some reason nothing is coming in in the request. Because of this my call to the Okta API to register the user fails because the data is empty.

Matt Raible

You might try comparing your code to this post’s example on GitHub. My guess is you have an issue in your code.

Thank you so much for this timely update! It’s fantastic to see the efforts you’ve made to keep everything current and working optimally with the latest versions of the dependencies.