Skip to content

Commit

Permalink
add release note and expand feature flag description IQSS#9063
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Mar 27, 2023
1 parent e728617 commit 5eb13b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/release-notes/9063-session-api-auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A feature flag called "api-session-auth" has been added temporarily to aid in the development of the new frontend (#9063) but will be removed once bearer tokens (#9229) have been implemented. There is a security risk (CSRF) in enabling this flag! Do not use it in production! For more information, see http://preview.guides.gdcc.io/en/develop/installation/config.html#feature-flags
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/installation/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2191,7 +2191,7 @@ please find all known feature flags below. Any of these flags can be activated u
- Description
- Default status
* - api-session-auth
- Enables API authentication via session cookie (JSESSIONID). Caution: Enabling this feature flag exposes the installation to CSRF risks.
- Enables API authentication via session cookie (JSESSIONID). **Caution: Enabling this feature flag exposes the installation to CSRF risks!** We expect this feature flag to be temporary (only used by frontend developers, see `#9063 <https://github.com/IQSS/dataverse/issues/9063>`_) and removed once support for bearer tokens has been implemented (see `#9229 <https://github.com/IQSS/dataverse/issues/9229>`_).
- ``Off``

**Note:** Can be set via any `supported MicroProfile Config API source`_, e.g. the environment variable
Expand Down

0 comments on commit 5eb13b0

Please sign in to comment.