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
it returns:
{"access_token":"b53fb693-d081-42fe-b1f2-574573c7ac81","token_type":"bearer","refresh_token":"684574bd-9342-45dc-943a-5c8b013e382f","expires_in":359999,"scope":"read write"}Marcs-MacBook-Pro:~ marc$
but after then running (from readme file):
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -X GET http://localhost:8000/gigy/people
i haven't changed anything or modified any code, just cloned repo & ran springboot app before running the readme file commands in terminal... can you please show me how to resolve this error?
here's a screenshot of terminal also (same as pasted above)
The text was updated successfully, but these errors were encountered:
Hi, after running (from readme file):
curl -X POST --user 'gigy:secret' -d 'grant_type=password&username=[email protected]&password=password' http://localhost:8000/gigy/oauth/token
it returns:
{"access_token":"b53fb693-d081-42fe-b1f2-574573c7ac81","token_type":"bearer","refresh_token":"684574bd-9342-45dc-943a-5c8b013e382f","expires_in":359999,"scope":"read write"}Marcs-MacBook-Pro:~ marc$
but after then running (from readme file):
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -X GET http://localhost:8000/gigy/people
it returns:
HTTP/1.1 401
Cache-Control: no-store
Pragma: no-cache
WWW-Authenticate: Bearer realm="null", error="invalid_token", error_description="Invalid access token: "
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 16 Dec 2019 03:33:09 GMT
{"error":"invalid_token","error_description":"Invalid access token: "}Marcs-MacBook-Pro:~ marc$
i haven't changed anything or modified any code, just cloned repo & ran springboot app before running the readme file commands in terminal... can you please show me how to resolve this error?
here's a screenshot of terminal also (same as pasted above)
The text was updated successfully, but these errors were encountered: