Comments (9)
also even after package update I'm still having Auth 2.0.2
from auth.
@ezisxl this should be fixed by 2.0.3 but basically you need to update the core Vapor framework. If swift package update
doesn't work, what does your Package.swift look like?
from auth.
Package.swift .package(url: "https://github.com/vapor/auth.git", from: "2.0.0")
Package.resolved { "package": "Auth", "repositoryURL": "https://github.com/vapor/auth.git", "state": { "branch": null, "revision": "9c71c8a6c021601d981305987e8e95fd36fd0c56", "version": "2.0.2" }
from auth.
@ezisxl did you run swift package update
and try building the project again?
from auth.
same :/ - it pulls 2.0.2
from auth.
Can you post your full Package.swift?
from auth.
import PackageDescription
let package = Package(
name: "authtst",
dependencies: [
// 💧 A server-side Swift web framework.
.package(url: "https://github.com/vapor/vapor.git", .upToNextMinor(from: "3.1.0")),
.package(url: "https://github.com/vapor/fluent-sqlite.git", .upToNextMinor(from: "3.0.0")),
.package(url: "https://github.com/vapor/leaf.git", .upToNextMinor(from: "3.0.0")),
.package(url: "https://github.com/vapor/auth.git", from: "2.0.2")
],
targets: [
.target(name: "App", dependencies: ["Vapor", "FluentSQLite", "Leaf", "Authentication"]),
.target(name: "Run", dependencies: ["App"]),
.testTarget(name: "AppTests", dependencies: ["App"]),
]
)
from auth.
Change your .upToNextMinor
to .upToNextMajor
from auth.
thx! that solved it
from auth.
Related Issues (20)
- Conforming Fluent models to BasicAuthenticable when username/password types are optional (i.e. String?) HOT 4
- Can not generate Xcode project HOT 2
- Protected routes can still be hit after calling `unauthenticate(_:)` HOT 4
- Should AuthenticationCache be public? HOT 2
- Stable release? HOT 3
- Route using SQLite model and SessionMiddleware timeouts when ran on ubuntu. HOT 4
- unauthenticate() should remove session when using authSessionsMiddleware
- consider including JWT by default HOT 5
- web session cookie expired on login HOT 1
- Would it be possible to avoid depending on the Vapor package?
- Unable to remove sessions with AuthenticationSessionsMiddleware enabled HOT 3
- Problem with Auth 2.0.2 HOT 2
- /Sources/Authentication/Persist/SessionAuthenticatable.swift:44:19: error: value of type 'Request' has no member 'hasSession'; did you mean 'session'? HOT 2
- Token should be encrypted HOT 6
- Remove reliance on DatabaseKit/Fluent HOT 4
- `AuthenticationSessionsMiddleware` should use a connection pool HOT 10
- Using token and session auth should not run both HOT 9
- Auth doesn't finish build with vapor 4 HOT 1
- BasicAuthenticatable for non-final classes HOT 2
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 auth.