Hi, I have implemented the following flow for user activation.
The user account is created using Management SDK - Create Activated User without Credentials.
User received an email with activation link (e.g https:/ /dev-XXXXXXX.okta.com/tokens/CZwHDVBifxts2RQuxqw9/verify)
When user click on the link, it will redirect to okta hosted page for setup password
User setup their own password
Setup any okta MFA or skip
Redirect to Okta Dashboad
Is it doable by Auth JS SDK to replace step 4-5 instead of using okta hosted page?
If yes, kindly can link me up with any documentation on what sdk to inititalise the process flow.
e.g authClient.idx.register (…) or authClient.idx.proceed({ email: email…})… etc.
I can’t find any related config for activation token in the okta console.
AuthSdkError: activationToken is not supported based on your current org configuration.
at register (C:\vue\okta_sample\okta-auth-js-master\okta-auth-js-master\samples\generated\express-embedded-auth-with-sdk\node_modules\@okta\okta-auth-js\cjs\idx\register.js:44:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async C:\vue\okta_sample\okta-auth-js-master\okta-auth-js-master\samples\generated\express-embedded-auth-with-sdk\web-server\routes\register.js:34:23 {
errorCode: 'INTERNAL',
errorSummary: 'activationToken is not supported based on your current org configuration.',
errorLink: 'INTERNAL',
errorId: 'INTERNAL',
errorCauses: []