I have a problem in the self-service registration. When i click on “Sign-Up” link i get a blank form that is supposed to be the registration form, and i get the following server error in the console
Under Security → Profile Enrollment, please ensure that you have a Profile Enrollment Policy created that is assigned to your application and has Self-service registration set to Allowed.
If you are using Okta Identity Ending, I recommend reading through this doc to make sure you have everything set-up correctly (you can ignore the SDK related portion, if you’re not using one of the ones listed): Self-service registration | Okta Developer
Tested with official .net sample and also with react spa. signup flow doesn’t work :
501 with
{
“errorCode”: “E0000060”,
“errorSummary”: “Unsupported operation.”,
“errorLink”: “E0000060”,
“errorId”: “oaeNXUVpZC6TWScJGi-3-cbWQ”,
“errorCauses”:
}
From your screenshot, it looks like your widget is hitting the Okta Classic Registration endpoint. Did you confirm whether your org is on Okta Classic or Okta Identity Engine? The steps to enable registration vary between the two engines, so you always want to confirm which one you’re on before looking through our guides (which will indicate if they are specific to either engine).
As mentioned in the article I linked to, this means you have an Identity Engine org.
In which case, you do NOT enable features.registration (this feature is only applicable to Okta Classic orgs) in the widget code and instead you need to follow this guide: Self-service registration | Okta Developer
I’m currently implementing a signup flow for a React/SPA or .NET web app widget. I’m uncertain about its availability. Can you provide more information on this.
So, i found this sample that works as Web app .net okta-idx-dotnet
But could you provide React SPA updated sample that will work with in-app sing up with similar flow?
As hinted at in my previous response, the React sample app (using an embedded widget) already supports this flow out of the box, as long as your org is configured for profile enrollment
The most important thing to remember is that, if you are using an Okta Identity Engine org, you MUST ensure that USE_INTERACTION_CODE is set to true in your environment variables, as mentioned in the readme for the sample I referenced above. Please ensure you’re reading through our documentation and sample guides to confirm that your use case is supported and that you have completed all configuration steps within Okta AND the application.