Skip to content
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

Make bearer cookie name configurable #25

Merged
merged 2 commits into from
May 12, 2023

Conversation

roman-khimov
Copy link
Member

With proper configuration this fixes our send.fs.neo.org problem when we have two containers involved in serving various parts of the website.

It's meant to be used by the client for requests to the server, sending it
from the server makes no sense.

Signed-off-by: Roman Khimov <[email protected]>
Sometimes it's harmful to attach "Bearer" cookie (automatically used by the
gateway) to all of the browser requests. Using some alternative name like
"X-Bearer" makes it possible for the frontend to decide which requests are
made with which headers.

Signed-off-by: Roman Khimov <[email protected]>
@roman-khimov roman-khimov added enhancement Improving existing functionality config Configuration format update or breaking change labels May 12, 2023
@roman-khimov roman-khimov added this to the v0.1.8 milestone May 12, 2023
@roman-khimov roman-khimov merged commit fc21247 into master May 12, 2023
@roman-khimov roman-khimov deleted the make-bearer-cookie-configurable branch May 12, 2023 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Configuration format update or breaking change enhancement Improving existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants