Hi,
We’re trying to develop own registration process based on Okta API and Okta Auth library.
We develop those steps:
- We create register page only getting email. When submit register, we call to Okta’s users (POST) API.
- First step returns User Activation email where we’ve got a button to redirect a new page to confirm email and add his password. This URL contains activation_token to register.
- When submit password, we call to this function:
idx.register({activationToken: this.token, authenticator: ‘okta_password’, password: this.newPasswordForm.value.password}).
This function always returns us “Bad Reques”. Concretically, returns “access_denied” and “he requested feature is not enabled in this environment.” error.
Do you know why? What wrong with this?
Thanks,