Open rohit-zip opened 6 months ago
Hi @rohit-zip, I see the targetController has a RequestMapping path "/auth-provider/user-auth/read" already adding a post method with "/auth-provider/user/add-username" endpoint would be redundant I think.
Suggestion:- Either the RequestMapping could be modified to EndpointConstants.CONTEXT_PATH
and the "/user-auth/read" can be appended specifically to the Get methods only.
Am I missing anything here ?
Issue Description
Rules:
Endpoint:
Request Param:
Note:
Utilize
@AuthenticationPrincipal
to access logged-in user details, including userId, email, username, and authorities.Response Body:
Validations:
@AuthenticationPrincipal
.Exception Handling
resources
directory.Contact:
For further assistance, please reach out: