Using OAuth2 - dawidkotarba/RegistrationService GitHub Wiki
Getting OAuth2 token:
URL: http://localhost:8082/oauth/token
Method: POST
Content-Type: application/x-www-form-urlencoded
Authorization: Basic bW9kdWxlOnJlZ2lzdHJhdGlvblN2
Raw payload: username=XXXX&password=XXXX&grant_type=password, where XXXX are username/pwd params
Using OAuth2 token:
In new request use generated token:
Authorization: Bearer generated_token