azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.65k stars 130 forks source link

Set Content-Type header for oauth2 user response #353

Open RaidMax opened 1 week ago

RaidMax commented 1 week ago

Adds json content-type header to oauth2 user response. Some SSO clients have validation checks for this header and will fail to parse the response (even if it is valid) without the content-type header.

cla-bot[bot] commented 1 week ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA.