OlhenShu / GreenCityProjectStage

0 stars 0 forks source link

[GET /user] In GET /user - Get User dto by principal (email) from access token response 200 OK - need 403 Forbidden #343

Open OlhenShu opened 11 months ago

OlhenShu commented 11 months ago

Environment: Firefox 116.0.3 (64-bit). Reproducible: always.

Preconditions Sign-in us user Moved to Swagger http://localhost:8065/swagger-ui.html#/

Steps to reproduce

  1. Click on User controller
  2. Click on GET /user
  3. Click on 'Try out'

Actual result Response 200 OK

Expected result Response 403 Forbidden