Unable to authentication with token


Justin Capogna <jcapogna@...>
 

I'm using the /login endpoint login with email/password and then I get the token from that. I'm passing that token in a header like "Authorization: Basic <token>" to the /getuser endpoint, but /getuser returns 400 and I get there error "unauthorized_error".

I've been able to successfully use the API with cookies, so I'm confident I have the endpoints right, but I'm trying to do it with tokens instead. 

Do the tokens work for Basic Auth? Am I missing something else?

Join api@beta.groups.io to automatically receive all group messages.