okta / okta-sdk-dotnet

A .NET SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
Other
160 stars 100 forks source link

Resend a verification email for active users #549

Closed oyemini-fortifieddata closed 2 years ago

oyemini-fortifieddata commented 2 years ago

Describe the feature request?

The way we are creating users is as follows:

  1. creating the user in with activate false flag (so we can send him activation email on the next step)
  2. calling activate user with sendemail= true to send the activation email to the user

Our product has come up with a feature request to allow the onboarding user to ask for an email resend. can I achieve this somehow with the current API? I tried to deactivate & activate the user again with resend email = true but I'm getting an error. it seems like the user needs to be in a provisioned status. but at this stage it is in active status.

New or Affected Resource(s)

users API

Provide a documentation link

No response

Additional Information?

No response

bryanapellanes-okta commented 2 years ago

@oyemini-fortifieddata Thanks for reaching out, I apologize for the delayed response. After reviewing the API documentation, it looks like the closest thing I can find would be the reset_password endoint: https://developer.okta.com/docs/reference/api/users/#reset-password Using reset-password you can automatically send the one-time token to the user or receive it from the API for execution of your custom flow.

laura-rodriguez commented 2 years ago

Closing due to inactivity. Please, feel free to reopen if this is still an issue.