-
Notifications
You must be signed in to change notification settings - Fork 994
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
[Docs]: cookieName is required on when mimicking dbAuth cookie generation on v7.6.2 #11694
Comments
You're welcome!
Could you suggest some wording or a code example for this for us to review to make sure it resolves your issue? Thanks. |
Sure. Maybe we can have that kind of that info component that says "On dbAuth version 7.6.2, cookie name is required. You can check on /api/src/functions/auth.ts" I tried to use the sample code in the docs as reference to implement my custom OAuth. Cant make it work because I am accustomed to dbAuth v7.0.0 until i noticed the cookie name on v7.6.2 is session_8911 which is different from the sample code on documentation. |
Hi, is anyone working on this ? I would love to solve the issue. |
HI @Muhammad-Owais-Warsi ... could you clarify what you are looking for?
|
Maybe https://github.com/spoonjoy/redwoodjs-dbauth-oauth is what you need for Redwood and OAuth?
It's working for v8. |
@dthyresson as per the issue states , that cookieName is required on docs, that's what I am thinking to add. Thanks :) |
@Muhammad-Owais-Warsi it helps us to have an example and show where in the docs. Would a note/callout of: "On dbAuth version 7.6.2, cookie name is required. You can check on /api/src/functions/auth.ts" See: https://docs.redwoodjs.com/docs/auth/dbauth#cookie-config Be what you think will help? Just looking for example where in the docs to include that tip. |
Right, maybe I have misunderstood something. Sorry for the inconvenience. Thanks |
hello, i hope this will help. this is the code that works for me.
|
Thanks @ejsinfuego . Could you make a PR with this how to docs change and reference this issue? That way the change and update can get reviewed and merged. You can find the file here: https://github.com/redwoodjs/redwood/blob/main/docs/docs/how-to/oauth.md |
Sure. I will. Thank you so much! |
this is related to the issue redwoodjs#11694
Summary and description
i'd like to thank you all for your hard work and dedication for making this framework.
maybe it's nice to have some heads up on the sample code on Oauth that a cookie name is required when using dbauth v7.6.2
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: