-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
[16.0] [FIX] fastapi: Unflag save_session in routing info #442
[16.0] [FIX] fastapi: Unflag save_session in routing info #442
Conversation
Hi @lmignon, |
by ignorance ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it makes sense
Does this have backward compatibility implications? |
Not that I know of, the session should not be used in the api. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense,
LGTM
We could make it configurable on the endpoint. |
I think there are people who use regular Odoo users to authenticate REST APIs. There were PR to that end for base_rest in the past, IIRC. So if this influences such use cases (I'm not sure myself), it's probably necessary to make it configurable. |
This PR has the |
Merged (and linted :p) |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at dae198b. Thanks a lot for contributing to OCA. ❤️ |
This is as much a PR as a question.
Is there any reason to not set the
save_session
to False and thus remove thesession_id
cookie?FYI: @sebastienbeau