Comments (2)
Hey @NewtTheWolf
Thank you for the suggestion/contribution and the nice description!
Cookie authentication (in my opinion) is another mechanism and does not correlate with this mechanism. If compared - for example - to .net or nextJS: the frameworks use OIDC to log you in and then create a session cookie on their own. So they are responsible for handling the session cookie.
This crate only supports introspection up until now. To cache introspection results and not to query the API too often, you can use the provided caching mechanism.
As such, you could implement your own caching mechanism that uses cookies instead of a postgres DB or inmemory mechanism to cache accesstokens <-> user info.
Do you know what I mean by this?
from zitadel-rust.
Hey @buehler,
thank you very much for the response.
Yes, I agree with you, and after thinking about it a bit, I understand it too. I will now also implement the complete authentication in the frontend app using SvelteKit with authjs, and the backend will only serve as an API.
from zitadel-rust.
Related Issues (17)
- RUSTSEC-2020-0159: Potential segfault in `localtime_r` invocations HOT 1
- RUSTSEC-2020-0071: Potential segfault in the time crate HOT 1
- Try to create a fix or feat commit when zitadel repo updates HOT 1
- Add interceptor that updates the service account key after it expires HOT 1
- The automated release is failing 🚨 HOT 1
- Undocumented protobuf dependency HOT 2
- How to set request headers in management client HOT 3
- Support for Additional Claims in Introspection HOT 2
- Credentials and Reqwest SSL Implementation(s) HOT 1
- Actix support? HOT 4
- RUSTSEC-2023-0071: Marvin Attack: potential key recovery through timing sidechannels
- Update axum to 0.7 HOT 2
- Optional headers in functions HOT 6
- Implement Clone for ChainedInterceptor
- Compile error in api/client.rs HOT 1
- Feature Request: Optional Support for Rocket-Okapi Integration in IntrospectedUser HOT 6
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 zitadel-rust.