Comments (7)
I am having same problem. Same error message for this part of code:
ret.AuthorizeData, err = w.Storage.LoadAuthorize(ret.Code) if err != nil { w.SetError(E_INVALID_GRANT, "") w.InternalError = err //error says Authorize not found (but i can see that i am sending "grant_type": {"authorization_code"},) return nil }
ret.Code is ok (code exists).
from osin.
To would be great if you explain hot this parts works:
var err error
ret.AuthorizeData, err = w.Storage.LoadAuthorize(ret.Code) //this part I can not debug
if err != nil {
w.SetError(E_INVALID_GRANT, "")
w.InternalError = err
return nil
}
from osin.
@goors did you check your timestamps? I ran into a similar issue for handling access requests and it was because osin uses time.Now()
https://github.com/RangelReale/osin/blob/master/authorize.go#L68
from osin.
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
from osin.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
/remove-lifecycle stale
from osin.
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
from osin.
@openshift-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen
.
Mark the issue as fresh by commenting/remove-lifecycle rotten
.
Exclude this issue from closing again by commenting/lifecycle frozen
./close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from osin.
Related Issues (20)
- CheckBasicAuth does not url decode the client_id and client_secret HOT 2
- How should I connect with my own user table ? HOT 2
- Expires time not correct HOT 4
- password grant type HOT 2
- Support for UMA, a.k.a. resource sets? HOT 5
- The redirect URI is checked to be not empty for every flow HOT 4
- grpc HOT 1
- Deprecating the project HOT 20
- Bot sending repeated messages HOT 5
- Can we fork this repo like gogs and gitea? HOT 3
- refactor example imports HOT 6
- refresh token expiration HOT 4
- in some case should check err == osin.ErrNotFound HOT 4
- Future Release Branches Frozen For Merging | branch:release-4.18 branch:release-4.19 HOT 2
- the project active? HOT 6
- Depends on "github.com/RangelReale/osin" HOT 2
- Authorization Code Request Handler always expects client secret to be present HOT 8
- RedirectURI prefix validation HOT 2
- grant type CLIENT_CREDENTIALS HOT 10
- The vulnerability CVE-2021-4294 has been fixed, but no specific tag denotes the patched version. HOT 5
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 osin.