Trigger “Send password link for OpenOlat password” over RESTAPI

22 views
Skip to first unread message

Steven

unread,
Mar 30, 2021, 10:15:05 AM3/30/21
to OpenOlat
How do I trigger the sending of the password reset e-mail via the RestAPI?

manuell
Usermanager > Organisations > "XY" > "User" > "Change Password" > "Send password link for OpenOlat password"
 Capture.JPG
I have already tried this:
URI: /restapi/pwchange?identiykKey=xxxxxx
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<temporaryKeyVO>
               <key>XXXXXXX</key>
               <emailAddress>some...@somewhere.nw</emailAddress>
               <ipAddress>127.0.0.1</ipAddress>
               <creationDate>2021-03-30T15:32:13.162+02:00</creationDate>
               <registrationKey>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</registrationKey>
               <regAction>PW_CHANGE</regAction>
               <mailSent>false</mailSent>
</temporaryKeyVO>


Thank you :)

Urs Hensler

unread,
Apr 1, 2021, 10:43:21 AM4/1/21
to open...@googlegroups.com
Hi Steven

Sending the email is not supported in the Restapi.

It is an administrative method that makes it possible to change the password. The corresponding email with the link to the page for changing the password is sent from the external system, i.e. the same system that calls the Restapi method.


Kind regards,
Urs


On 30 Mar 2021, at 16:15, 'Steven' via OpenOlat <open...@googlegroups.com> wrote:

How do I trigger the sending of the password reset e-mail via the RestAPI?

manuell
Usermanager > Organisations > "XY" > "User" > "Change Password" > "Send password link for OpenOlat password"
 <Capture.JPG>
I have already tried this:
URI: /restapi/pwchange?identiykKey=xxxxxx
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<temporaryKeyVO>
               <key>XXXXXXX</key>
               <emailAddress>some...@somewhere.nw</emailAddress>
               <ipAddress>127.0.0.1</ipAddress>
               <creationDate>2021-03-30T15:32:13.162+02:00</creationDate>
               <registrationKey>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</registrationKey>
               <regAction>PW_CHANGE</regAction>
               <mailSent>false</mailSent>
</temporaryKeyVO>


Thank you :)


--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/27c6c0ba-90d5-46b5-a040-2bec488feed9n%40googlegroups.com.
<Capture.JPG>

Reply all
Reply to author
Forward
0 new messages