Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while accessing resources #1

Open
shreyabaid007 opened this issue Feb 12, 2018 · 0 comments
Open

Problem while accessing resources #1

shreyabaid007 opened this issue Feb 12, 2018 · 0 comments

Comments

@shreyabaid007
Copy link

Request- curl -H "Authorization: Bearer 1234567890" localhost:8081/account
Response- {"error":"invalid_token","error_description":"Invalid access token: 1234567890"}

But the endpoint that gets access token works fine for me, i.e., localhost:8081/oauth/token?client_secret=secret5&client_id=web5&grant_type=password&username=XYZ&password=1234

What am I doing wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant