globe-and-citizen / layer8

This repo contains the Layer8 Resource/Authentication Server, Proxy, and Service Provider Mocks
GNU General Public License v2.0
2 stars 2 forks source link

Some DTOs are missing required field validation #104

Closed interestIngc closed 2 months ago

interestIngc commented 5 months ago

There are DTOs that are missing required field validation, for example, LoginUserDTO and UpdateDisplayNameDTO. This results into the server crash should the request body contain a json without the required fields:

Screenshot 2024-06-14 at 21 21 32 Screenshot 2024-06-14 at 21 22 03

See line 250 of 'controller.go' for an example.

Acceptance Criteria