robisim74 / AngularSPAWebAPI

Angular Single Page Application with an ASP.NET Core Web API that uses token authentication
MIT License
231 stars 59 forks source link

Cannot get userinfo from userinfo endpoint #20

Closed lamemmv closed 7 years ago

lamemmv commented 7 years ago

I can signin successful, get access_token, but do not have refresh_token. When the site try to get userinfor via connect/userinfo. It always give 405 error

Response for preflight has invalid HTTP status code 405

What're my missing? thanks

robisim74 commented 7 years ago

Refresh token uses the Token endpoint and not the Userinfo endpoint.

Are you trying to run this app as-is or your app?