Comments (7)
Yes, looks like you're using Go <= 1.4. Unfortunately, fosite currently only works with 1.5 or greater but I gladly accept any PRs granting compability with older Go versions while not introducing bc breaks.
from fosite.
Thanks for quick response! Ok, we will prob. be upgrading soon anyway.
from fosite.
I think base64 padding is the only thing that is causing older builds to fail. Not sure if there is a way to achieve the same thing (base64 without padding) with older versions of Go. But seeing how Go progresses on garbage collection and awesomeness it is probably a good idea to upgrade anyways :)
from fosite.
Found something on stackoverflow which might help: http://stackoverflow.com/questions/31971614/base64-encode-decode-without-padding-on-golang-appengine
from fosite.
You are fast, thanks! I know this is not the place to ask, but do you consider this ready for use in production?
from fosite.
Difficult to say, the example shows that the public facing API is pretty stable. I want to implement fosite in hydra which will be used in production. I also want to implement OpenID Connect. Both of these things might need some refactoring of internal methods.
If you need 100% API stability I'd suggest to wait until fosite is released via gopkg.in as v1. If you're okay with using godep and fixing a few things when BC breaks arise I'd say you're good to go.
In terms of security, I'd say that fosite is already more stable and more secure than other golang oauth2 frameworks.
from fosite.
One more thing: I haven't imeplemented a real storage (e.g. against mysql/postgres/...) yet, only an in-memory storage for fosite. This might also be an an area which needs a little refactoring, depending on the limitations of the different DBALs. But I tried to keep everything in mind that I have stumbled upon during the past years of using go.
from fosite.
Related Issues (20)
- Best way to replicate a refresh_token flow using Fosite. HOT 5
- RFC7523: Store the payload of the supplied JWT for later use in token hook in Hydra HOT 6
- Add custom form_post response writer HOT 1
- github.com/square/go-jose is deprecated HOT 3
- upstream reference closed: github.com/square/go-jose/issues/353 HOT 1
- RFC7523: Allow associating an audience allow list to a public key trust. HOT 1
- Auth Req omitted response_mode does not validate the default response_mode against the ResponseModeClient
- Failing to fetch a PKCE request session fails requests even when PKCE is not enforced HOT 3
- redirect_uri matching does not follow RFC3986 HOT 2
- Changelog is out of sync
- During refresh token grant if token is invalid or expired return status code should be 400 HOT 3
- Allow revoking access token without revoking refresh token HOT 2
- authorize_helper.isLoopbackAddress has flaws HOT 1
- clientCredentialsFromRequest should not expect Basic Authorization terms being URL Escaped HOT 2
- Refresh token flow handler does not set the original request ID in the handler early enough
- use mattn/go-sqlite3 v2.0.3+incompatible no the new version HOT 6
- Failed to decode `id_token_hint` when using different signer for `id_token` and others
- `iat` field in access token (JWT) issued as part of `refresh_token` grant. HOT 8
- Concurrent requests for token endpoint on auth-code flow with same code succeed. HOT 7
- Can not run the example code
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 fosite.