New user password reset via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When creating a user via the api (python) I'm using the following parameters:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @BobZim,
We do all of our user creation via SIS, so I haven't used this particular API myself, but a couple things stick out in the Create a User API documentation.
- You may need to set user[terms_of_use] to True, as the description says "
Whether the user accepts the terms of use. Required if this is a self-registration and this canvas instance requires users to accept the terms (on by default). If this is true, it will mark the user as having accepted the terms of use"
- If you want the user to create their own password, you probably shouldn't be setting a password via the API. The doc says "User’s password. Cannot be set during self-registration." Maybe setting the password here is messing up the self-registration process.
Let us know if either or both of these suggested changes get things working as desired.
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was setting the password to None (I didn't include that part of the code). Your response got me thinking that maybe I shouldn't be including the password pseudonym at all. Once I removed it, the URL in the email was redirected to the page where the user could set their password. Thank you!