Comments (10)
I'm using openidconnect
with axum-sessions
and found I didn't need axum-login
anymore 😄
from axum-login.
That sounds like a pain, sorry you're running into this.
I'm happy to make that optional assuming that's feasible with the right set of feature flags.
from axum-login.
I figured out later that changing sqlx features in my project from runtime-native-rustls
to runtime-tokio-rustls
sorted it for now, which is probably smarter, but it's likely an issue either way for adoption 😃
from axum-login.
@yaleman if we remove the flag entirely, does that address the issue?
diff --git a/Cargo.toml b/Cargo.toml
index 25f3b09..7c233b5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,7 +25,6 @@ mssql = ["sqlx/mssql"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
-sqlx = ["sqlx/runtime-tokio-rustls"]
[dependencies]
async-trait = "0.1.57"
Applications will need to specify the runtime (which must be tokio) and TLS preference.
from axum-login.
I'm no longer using this crate in the project so I'm not able to test, sorry!
from axum-login.
@yaleman got it. Any particular feedback re moving away from this crate?
from axum-login.
Makes sense!
from axum-login.
There's some work to address this in #44 but I think we need to resolve #73 before we can figure out the best approach here.
from axum-login.
This should be addressed by the new design in #104.
from axum-login.
This is addressed in v0.7.0
.
from axum-login.
Related Issues (20)
- Support tower-sessions HOT 3
- Feature Request: Locking user out HOT 2
- Consider reorganizing examples into a workspace
- Make the `DATA_KEY` configurable
- Evaluate better management of sensitive data HOT 1
- Bring coverage back HOT 2
- Macro hygiene is broken
- Error type made public HOT 5
- Custom `Debug` implementation for `User` but not `Credentials` in SQLite example? HOT 1
- Could not find `http` in `$crate` HOT 1
- Is 2FA possible?
- `AuthnBackend#Credentials: Clone` breaks `oauth2::PkceCodeVerifier` HOT 1
- Session Cookie Removed on Reload
- Can't extract auth session. Is `AuthManagerLayer` enabled? HOT 8
- login_required macro generates invalid redirect URL HOT 3
- State isn't saved when using axum-login with leptos
- Going back to login page should not complete if the user logged HOT 2
- Dependency on time crate in "Duration"
- Session expiration has no effect
- examples/sqlite database in wrong folder and useless files 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 axum-login.