How to use custom login component with okta react?

How to use custom login component with okta react? I tried to follow many tutorials but no mentioned regarding custom login component inside of using okta sign in widget. Any resources or any sample code will be very helpful.

I also referred this custom login on github but it is using sign in widget I want to use custom form component. Link: https://github.com/okta/samples-js-react/blob/master/custom-login/src/Login.jsx

Thanks

I found the solution for this Implementing Okta authentication in a React app - LogRocket Blog I implemented same custom component for login. But I am getting 401 why so? I can see in response headers getting warning related to set cookie header see screenshot Screenshot_2|690x17
Is this the reason for getting 401 ?? I am creating users using okta nodejs SDK /register endpoint is creating new user like this: @okta/okta-sdk-nodejs - npm

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.