firestore-db-and-auth-rs
firestore-db-and-auth-rs copied to clipboard
Easy Rust access to your Google Firestore DB via service account or OAuth impersonated Google Firebase Auth credentials
I needed to use this library from an async context, decided to move it all the way to async-only after experimenting with having sync/async behind feature flags. Let me know...
I'm seeing a few issues in this project that I would consider to be critical but haven't seen a lot of activity from the maintainers of this project for quite...
**Describe the bug** My [program](https://github.com/BearStudio/twitch-listener/blob/main/src/main.rs) did stop with the following error: ``` thread 'tokio-runtime-worker' panicked at 'already mutably borrowed: BorrowError', /Users/yfleury/.cargo/registry/src/github.com-1ecc6299db9ec823/firestore-db-and-auth-0.6.1/src/sessions.rs:308:45 ``` Looking at the `sessions.rs` line (308 in the...
Could you give an example on how to make a document query with "start at" and "order by"? Thanks, this library looks really nice by the way.
**Is your feature request related to a problem? Please describe.** Good development practice is to use local database in local environment. Postgres and Firestore running locally is ideal. **Describe the...
Hello, im creating user with e-mail is there a way to add displayName field, or is read-only from firebase? I'm using `sign_up(&session, email, password)` to create user.
**Describe the bug** The createSessionCookie REST API supports a `validDuration` between five minutes and fourteen days. Ref https://cloud.google.com/identity-platform/docs/reference/rest/v1/projects/createSessionCookie Using `session_cookie::create` to obtain a session cookie it is not possible to...
Missing: * Examples need to be ported * Blocking methods for the session type are missing * Formatting
Fixes https://github.com/davidgraeff/firestore-db-and-auth-rs/issues/28, allow cookie greater than sixty minutes.
**Describe the bug** The code below ```rust let sess = UserSession::by_user_id(&cred, &format!("test_{}", uid), false) .expect("failed to create a user session"); let token = sess.access_token(); UserSession::by_access_token(&cred, &token).expect("invalid test token"); ``` panic...