openshift/osin

Validating access_token

Fyb3roptik opened this issue · 2 comments

I realize that Oauth does not have this down yet. I also see the /info endpoint in the example but cannot get it working.

I am getting an access_token just fine, but want to validate it to make sure it is correct and that access is granted. Every time I try the /info endpoint with Authorization: Bearer access_token I get "invalid_request"

Also debug shows

LoadAccess: access_token

in terminal

I was able to fix it myself. Looks like it was internal code.