Feature #4577
[PROD FEB 25] Add a Register User API
Description
Add an API to register a new Trial (Cognito) User.
API Input: User email address
API Output : Temporary Password
Account: TESTDRIVE
PROJECT : <Account>-PROJ ie TESTDRIVE-PROJ
WORKSPACE : <Username>-Wk (Each User should have new Individual workspace)
Trial User : Max 60 days
When you create the workspace, clone everything from a GOLDEN-WK (Golden Workspace) - connections, doppelmodels, test etc.
Note: 1. Keep Account name and Golden Workspace name in config file so that we can change the names as required
2. Add a New Controller - RegistrationController
3. Only Users from Doppelio/System account can register users
4. Please verify that user account is deactivated after trial period (just check that this is happening correctly)
I want this API by end of next week - so please complete by wednesday or so.
Files
Updated by Archana Khetan 2 months ago
- Assignee changed from Archana Khetan to Sharmila Saha
Hi Sharmila,
Are there any more changes to be done with respect to this ticket
Updated by Sharmila Saha about 2 months ago
- Project changed from Doppelio Web Application to Doppelio-TestDrive
- Category deleted (
UserManagement) - Assignee changed from Sharmila Saha to Sanjay Kumar
- Priority changed from Immediate to High
Please test this API :
https://trialapi.doppelio.com/user/swagger/index.html
Register:
/api/RegisterUser/RegisterNewUser
This should create new user in TestDriveAccount with new workspace - everything in workspace TestDriveAccount-PROJ-Wk should be cloned. User should be able to login with MFA view and run tests.
Ignore the part about trial users - we do not have this feature yet.
Log defects to me - I will get them fixed
Updated by Sanjay Kumar about 2 months ago
- File clipboard-202503071130-ondqw.png clipboard-202503071130-ondqw.png added
- File clipboard-202503071130-zfikd.png clipboard-202503071130-zfikd.png added
- Status changed from New to Feedback
- Assignee changed from Sanjay Kumar to Sharmila Saha
I have putted the token from a system user for API authorisation and then tried to register a new user but getting the error :
{
"httpStatusCode": 400,
"statusCode": 2,
"statusDescription": "",
"message": "Doppelio URL Path is blank in appsettigs.json file"
}
Updated by Sanjay Kumar about 2 months ago
Word with Archna she said she fixed for the config JSON file but now getting new error for User Modeule as shown below.
{
"httpStatusCode": 400,
"statusCode": 8,
"statusDescription": "",
"message": "NewUser2:Messages.UserModuleErrors.notfound"
}
Updated by Sharmila Saha about 2 months ago
- Assignee changed from Sharmila Saha to Sanjay Kumar
8 MAR 25 Release : Fixed. Problem happened if you used a combination of small and big characters.
People will generally register wil email addresses. So test with some random eamil addresses also.
Updated by Sharmila Saha about 2 months ago
Please use this API :
https://trialapi.doppelio.com/doppelioDataAPI/swagger/index.html
Register API:
/api/DataApp/RegisterNewUser
Please test this
Updated by Sanjay Kumar about 2 months ago
- File clipboard-202503121037-iuulg.png clipboard-202503121037-iuulg.png added
- File clipboard-202503121042-s7tw4.png clipboard-202503121042-s7tw4.png added
- Status changed from Feedback to Closed
v[1.0.0]: As of 12th March I am able to use the Register API and able to register the user with following combinations :
Sanju.Kumar@doppel.com(like an email), SanjuKumar(Combination of Big& small letter) , sanjukumars (all small letters),SANJU11 and when we try to put space and special character then we are getting the below error :
"Username: SANJU kumar contains unsupported characters. Supported Characters:^[A-Za-z0-9][A-Za-z0-9@_:,.-]+$"