20230308 - Users Service Release

Summary:
Add “User Id” claim on login

Ticket:
https://seko.atlassian.net/browse/SSSO-247

Detail:
Ability to retrieve the User Id without having to make additional calls to resolve User Id by Username.


Summary:
GET UserIdentityRoles - Fix for “Bad Request” when no roles assigned

Ticket:
https://seko.atlassian.net/browse/SSSO-246

Detail:

GET /users/{userId}/identities/{userIdentityId}/roles
Previously this would return 400 Bad Request when no roles assigned. A fix has been applied for this.


Summary:
Ability to delete a User by Id

Ticket:
https://seko.atlassian.net/browse/SSSO-247

Detail:
API clients can now delete a User by Id


Summary:
Return first identity as current when calling GET /users/<user-id>/identities/current

Ticket:
https://seko.atlassian.net/browse/SSSO-253

Detail:
Create a new User

  1. Create few Identities to this user.

  2. Call GET /users/<user-id>/identities/current

    1. The first Identity returns as current.


Summary:
JWT token now contains “userId“ field

Ticket:
https://seko.atlassian.net/browse/SSSO-247

Detail:
JWT token now contains “userId“ field with the value from UserService.IdentityManager.Users table: