-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add create session cookie feature #14
Comments
Hey, thanks for the contribution. You are using I see two options:
Cheers, David |
Thanks for your feedback, I will look into it :) |
Hello, I did not found a function in Regards, Stéphane |
Thanks for the PR on biscuits repo. It seems like the maintainer is currently planning a 0.5 release and is also in summer break. I'll have a look at the jsonwebtoken crate and if it makes sense to migrate. It isn't an option to use both crates IMO. |
FYI - I had a chance to look at the issue that @stephane-ein posted regarding biscuit. I think that we should be able to accomplish the session cookie work using |
That's great. So we can actually have session cookies even with I want to concentrate getting the CI working again and writing more examples this week. Would come back to this MR later, if no one else does it in the mean time. |
I have finished reworking the MR. There is an example application that creates a session cookie. But I have no idea what to do with such a cookie. Is that supposed to be used instead of an id token to perform database operations? |
Hello,
Thanks for sharing this rust library !
But it seems like we cannot create a session cookie with this library.
It should be nice to be able to create a session cookie like described in the firebase documentation : https://firebase.google.com/docs/auth/admin/manage-cookies#create_session_cookie
I created a PR to add this feature by looking at the source code of firebase-admin-node :
https://github.com/firebase/firebase-admin-node/blob/master/src/auth/auth-api-request.ts#L971
https://github.com/firebase/firebase-admin-node/blob/master/src/auth/auth-api-request.ts#L1711
Any feedback are welcome !
The text was updated successfully, but these errors were encountered: