OiO.lk Blog java When I attempt to use the authentication service that I developed, I encounter a 401 error
java

When I attempt to use the authentication service that I developed, I encounter a 401 error


I made an auth service with Java Spring using JWT, and when I try to register a user from Postman it gave me a 401 error saying that I’m not authorized to use the API.

Error when I try to use the API register method:

I try to use the password that Spring gave me in the authorization module from Postman (I don’t really know which is the user) and it didn’t work.

Using the credentials that Spring gave me:

I deduce that is something related with the password that Spring gave me.

Output when I start the auth service:

Controller register method:



You need to sign in to view this answers

Exit mobile version