Security settings can be configured in the config_security.conf file.
http://localhost:8080/auth/token/create
Creating a new token requires basic credential authentication. In Postman select the Authorization
tab
and create a Basic Auth
type, filling it with either admin/admin or guest/guest.
http://localhost:8080/auth/token/refresh
-
Refreshing or using the obtained Token in Postman requests:
- Open Postman and select the Headers tab.
- Add a new key-value pair:
- Key:
Authorization
- Value:
Bearer <The-token-with-no-quotes>
- Key:
Note that the provided postman collection is already configured to automatically refresh tokens.