use oauth2 with email and password to get access token
Request: POST /oauth/token
{“grant_type”:”password”, “password”:”12345″, “username”:”[email protected]”}
Response
{ “access_token”: “3d48f9ccf28d47619d323ff7e4d96a59d1ac34eaf9d859c592a44cff1fb49d33”,
“token_type”: “bearer”, “expires_in”: 7200 }