FusionAuth / fusionauth-issues

FusionAuth issue submission project
https://fusionauth.io
91 stars 12 forks source link

Support general configuration to write HTTP response headers from FusionAuth #1510

Open robotdan opened 2 years ago

robotdan commented 2 years ago

Support general configuration to write HTTP response headers from FusionAuth

Description

There are some security related headers that we may want to write, and these types of headers change and may be specific per client.

We could optionally expose a key value pair configuration to allow HTTP headers to be written to the HTTP response by FusionAuth.

This config would exist on the System Configuration and be applied to all HTTP responses regardless of tenant.

Related

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

voidmain commented 7 months ago

This would be nice for HSTS as well.

davekuyper commented 7 months ago

+1 for HSTS. A customer of ours had concerns around the lack of HSTS on our hosted login page.

mooreds commented 3 months ago

@davekuyper please don't forget to upvote the issue, as that helps bubble it up for implementation.

mooreds commented 3 months ago

Might be nice to have this configurable on a tenant by tenant basis as well. If you are a true SaaS private labeling FusionAuth, different tenants might have different requirements.