gliderlabs / gliderlabs/cmd

auth0.User doesn't seem to error correctly when c.Token is missing

Open
#141 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
28
Forks
4
PR merge metrics
No merged PRs in 30d

Description

A missing auth0 API token doesn't error correctly. When a user authorized the application their information gets stored in auth0. But a missing API token will pull their user details instead of `err`:

```
auth0.User{"errorCode":"Bearer", "statusCode":400, "error":"Bad Request", "message":"Bad HTTP authentication header format"}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.