ReneRanzinger / IFEDS-backend

Serverside backend for the Infrastructure For Experimental Data Sharing
GNU General Public License v3.0
1 stars 1 forks source link

Create User Ws #62

Closed ReneRanzinger closed 4 years ago

ReneRanzinger commented 4 years ago

Input

Function

Ouput Error json or success json.

akshaykokane commented 4 years ago

Waiting for #56 to complete

akshaykokane commented 4 years ago

Input JSON Sample :

{

    "name": "akshay",
    "providerGroup" : "",
     "department":"",
    "affiliation":"",
    "url":"",
    "contact":"",
    "username":"test",
    "email":"test@gmail.com"

}

Output JSON:

{
     "message" : "New user created",
     "set_password_link" : "glygen.ccrc.uga.edu/ifeds/password_reset/G87NCuUQ5rYXe5bYGIMWFxdooqK5lB"
}
akshaykokane commented 4 years ago

Email Sample:

Screenshot 2020-04-18 at 3 53 16 PM
akshaykokane commented 4 years ago

c96268a6d605180fbac84fb9527a77e02d4e03f1

akshaykokane commented 4 years ago

Please note we need to put username and password of the Gmail account in the application.properties before using this web service