Task #17060
WSC: User creation
Start date:
02/11/2023
Due date:
% Done:
0%
Estimated time:
Description
The web service should accept user details as input and create a corresponding user in Keycloak.
- Use Alya to create the web service.
- Use gocloak to create a user in Keycloak based on the input user details.
- Handle any errors that may occur during the user creation process and returning the error response.
- Test the web service to ensure it creates users correctly in Keycloak.
Files
Updated by Tushar Bhingare over 1 year ago
- Status changed from New to In Progress
- Created a web service using Alya.
- Used gocloak to create a user in Keycloak based on the input user details.
- Handled any errors that may occur during the user creation process and returned the error response.
Updated by Tushar Bhingare over 1 year ago
- Obtaining the token from the bearer token
- Added middleware for token authentication
- Storing the token in Redis.
Updated by Tushar Bhingare over 1 year ago
- File create user.png.png create user.png.png added
- performed testing on the web service to verify its capability to successfully create users.
Updated by Tushar Bhingare over 1 year ago
WSC: User creation
- created web service using updated Alya.
- took appconfig values from config.json by using alya/config pkg
- Completed logging by using alya/logger
- performed authentication and created router using alya/router
- Used alya/service to create user handler and added gocloak client to service dependencies
- Extracted token from the context header.
- Used gocloak to create a user in Keycloak based on the input user details.