Project

General

Profile

Task #17060

WSC: User creation

Added by Sachin Divekar over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
-
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.

user-create web service


Files

create user.png.png (85 KB) create user.png.png Tushar Bhingare, 22/11/2023 06:22 PM
#1

Updated by Sachin Divekar over 1 year ago

  • Assignee set to Tushar Bhingare
#2

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.
#3

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.
#4

Updated by Tushar Bhingare over 1 year ago

  • performed testing on the web service to verify its capability to successfully create users.
#5

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.
#6

Updated by Sachin Divekar about 1 year ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF