Comments (4)
Hey @schmohlio, can you drop a ticket into Auth0 support?
from auth0-golang-web-app.
oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"access_denied","error_description":"Unauthorized"}
I think something wrong with
// Exchanging the code for a token
token, err := conf.Exchange(oauth2.NoContext, code)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
from auth0-golang-web-app.
Is there a link to the ticket if one was opened? I'm experiencing this as well ... getting a valid "looking" token, but running it through https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=<token>
it is indeed invalid.
from auth0-golang-web-app.
Closing this issue as it is quite old - if you are still experiencing this issue please reopen or create a new issue, including any updated information if applicable.
from auth0-golang-web-app.
Related Issues (19)
- no userinfo when using OIDC Conformant app
- no oidcConformant and audience parameters are provided
- An example of passing the "state" parameter? HOT 3
- Context? HOT 1
- An example of passing the "state" parameter? HOT 7
- oauth2: cannot fetch token: 401 Unauthorized HOT 1
- Not able to save auth-session HOT 4
- Failed to verify ID Token: oidc: id token signed with unsupported algorithm, expected ["RS256"] got "HS256" HOT 3
- Error: "securecookie: the value is not valid" HOT 1
- Why Filesystem not cookie?
- Getting a state mismatch on first login attempt HOT 2
- Should this example work with organizations feature enabled? HOT 2
- securecookie: the value is too long HOT 3
- No logout button
- Version in go.mod should be bumped up to 1.18 HOT 1
- outdated lock
- "go get" repo not working? HOT 4
- Improve security of token by using secure http-only cookie
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0-golang-web-app.