Comments (6)
Currently there is no separate repositories for the meta packages as they contain only 4 files in them
.
├── index.js
├── LICENSE
├── package.json
└── README.md
I agree that separate repository will make it easier to point the dependency to your own fork.
As for breaking changes between 3.0.0 and 3.1.0 that's very unfortunate, because it's not a major release, but it happens.
from grant.
Seems like koa-session
specifically design 3.1.0 to make it backward compatibility, maybe he missed an edge case somewhere. I reverted to 3.0.0 for time being, will report back when I got time to checkout 3.1.0
from grant.
OK, looks like this is also triggered by app.use ordering:
This works
app.use(session(app));
app.use(bodyParser());
app.use(mount(grant));
But not this
app.use(mount(grant));
app.use(session(app));
app.use(bodyParser());
Maybe update doc to avoid this mishap?
The error is likely due to this._ctx.sessionOptions
being empty when cookie is set by 3.0 first.
TypeError: Cannot set property 'maxAge' of undefined
at new Session (/Users/teambegin/git/mai/node_modules/koa-session/index.js:152:59)
at Object.session (/Users/teambegin/git/mai/node_modules/koa-session/index.js:64:16)
from grant.
Closing in favor of #10
from grant.
@bitinn check out the latest changelog https://github.com/simov/grant/blob/master/CHANGELOG.md - it's not entirely related to Koa, but I'm sure you'll like it :)
from grant.
@simov thx for the heads up, looks great! been using v3.2.0 in one of my project and so far so good, will upgrade to v3.3.0 soonish.
from grant.
Related Issues (20)
- Intended method of accessing session.grant HOT 2
- Discord Profile route always 401 Unauthorized HOT 7
- Recommended approach for handling config without checking into git HOT 1
- Support Deno? HOT 3
- iFrame redirect issue with Shopify oAuth HOT 4
- OAuth 2 state - how can I associate a successful grant with a user id HOT 5
- Is there a framework-agnostic API? HOT 1
- Telegram Oauth HOT 2
- Export the grant config and Options HOT 4
- Not working with Next 13 App Router
- How to use dynamic params in custom_params of grant? HOT 1
- Autodesk deprecated v1 (lib's current) oauth endpoints HOT 4
- Incorrect inclusion of client_secret for authorization_code grant in OAuth2 implementation HOT 1
- Switch to OAuth 2 for OpenStreetMap provider HOT 1
- Itch.io authentication HOT 2
- Alternating Domains HOT 5
- Allow to customize "missing provider" error URL? HOT 3
- Any Help to Implement Grant in Next JS
- Is it possible to pass arbitrary data in? HOT 1
- Grant playground open-source? HOT 1
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 grant.