Skip to content

Commit

Permalink
🔧 [#1155] -- ensure the X-Session-Expires-In is exposed to CORS requests
Browse files Browse the repository at this point in the history
The SDK (in embedded formmust be able to read this response header.
  • Loading branch information
sergei-maertens committed Jan 6, 2022
1 parent ea0f0ec commit ca18e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openforms/conf/base.py
Expand Up @@ -631,7 +631,7 @@
CORS_ALLOW_HEADERS = list(default_cors_headers) + config(
"CORS_EXTRA_ALLOW_HEADERS", split=True, default=[]
)
CORS_EXPOSE_HEADERS = []
CORS_EXPOSE_HEADERS = ["X-Session-Expires-In"]
CORS_ALLOW_CREDENTIALS = True # required to send cross domain cookies

#
Expand Down

0 comments on commit ca18e6c

Please sign in to comment.