You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Java Backend Spring Boot Authentication System is a comprehensive and secure authentication solution developed using the Spring Boot framework. This system integrates various essential components, including Spring Security, JWT (JSON Web Tokens), and MySQL, to establish a robust user authentication experience. It offers features such as user registration, login, role-based access control, and secure logout functionality.
9
3
@@ -136,10 +130,17 @@ Request Body:
136
130
}
137
131
click on ---> Send
138
132
* Response: HTTP 200 OK with "User registered successfully" message.
* Bad Credentials: If the provided username or email and password combination is invalid, the endpoint returns HTTP 401 Unauthorized with an error message.
164
169
170
+

171
+
165
172
* 3 Admin Panel Endpoint:
166
173
167
174
URL:
168
175
* Method GET : http://localhost:8080/api/auth/admin
176
+
169
177
* Select --> Authorization --> Bearer token --> copy login token paste in Token like below,
* If the provided username or email during registration is already taken, the application returns HTTP 400 Bad Request with an appropriate error message.
0 commit comments