You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release fixes a bug where the value of the dataverse.auth.oidc.enabled setting, available when Provisioning an authentication provider via JVM options (see ref: https://guides.dataverse.org/en/latest/installation/oidc.html#provision-via-jvm-options) was not being not being propagated to the current Dataverse user interface (where enabled=false providers are not displayed for login/registration) or represented in the GET api/admin/authenticationProviders API call.
2
+
3
+
A new JVM setting ('dataverse.auth.oidc.hidden-jsf') was added to hide an enabled OIDC Provider from the JSF UI.
4
+
5
+
For Dataverse instances deploying both the current JSF UI and the new SPA UI, this fix allows the OIDC Keycloak provider configured for the SPA to be hidden in the JSF UI (useful in cases where it would duplicate other configured providers).
6
+
7
+
Note: The API to create a new Auth Provider can only be used to create a provider for both JSF and SPA. Use JVM / MicroProfile config setting to create SPA only providers.
In prior versions of Dataverse, configuring a proxy to forward to Dataverse over an http connection could result in failure of signed Urls (e.g. for external tools). This version of Dataverse supports having a proxy send an X-Forwarded-Proto header set to https to avoid this issue.
Before a Dataset can be published the user must acknowledge acceptance of the disclaimer if it is required.
4
+
5
+
The setting "PublishDatasetDisclaimerText", when set, will prevent a draft dataset from being published without the user acknowledging the disclaimer.
6
+
The approved disclaimer text is `"By publishing this dataset, I fully accept all legal responsibility for ensuring that the deposited content is: anonymized, free of copyright violations, and contains data that is computationally reusable. I understand and agree that any violation of these conditions may result in the immediate removal of the dataset by the repository without prior notice."`
7
+
8
+
To enable/disable the acknowledgement requirement an Admin can set/delete the setting using the following APIs:
9
+
10
+
`curl -X PUT -d "By publishing this dataset, I fully accept all legal responsibility for ensuring that the deposited content is: anonymized, free of copyright violations, and contains data that is computationally reusable. I understand and agree that any violation of these conditions may result in the immediate removal of the dataset by the repository without prior notice." http://localhost:8080/api/admin/settings/:PublishDatasetDisclaimerText`
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/api/external-tools.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,10 @@ The signed URL mechanism is more secure than exposing API tokens and therefore r
174
174
- For tools invoked via a GET call, Dataverse will include a callback query parameter with a Base64 encoded value. The decoded value is a signed URL that can be called to retrieve a JSON response containing all of the queryParameters and allowedApiCalls specified in the manfiest.
175
175
- For tools invoked via POST, Dataverse will send a JSON body including the requested queryParameters and allowedApiCalls. Dataverse expects the response to the POST to indicate a redirect which Dataverse will use to open the tool.
176
176
177
+
.. note::
178
+
179
+
**For Dataverse site administrators:** When Dataverse is behind a proxy, signed URLs may not work correctly due to protocol mismatches (HTTP vs HTTPS). Please refer to the :ref:`signed-urls-forwarded-proto-header` section to ensure signed URLs work properly in proxy environments.
The setting "PublishDatasetDisclaimerText", when set, will prevent a draft dataset from being published through the UI without the user acknowledging the disclaimer.
6397
+
6398
+
.. note:: See :ref:`show-custom-popup-for-publishing-datasets`if the user acknowledgment is not required but you want the message to be displayed in the UI.
6399
+
.. note:: See :ref:`curl-examples-and-environment-variables`if you are unfamiliar with the use of export below.
Get Application Terms of Use (General Terms of Use)
@@ -7654,6 +7679,8 @@ Add new authentication provider. The POST data is in JSON format, similar to the
7654
7679
7655
7680
POST http://$SERVER/api/admin/authenticationProviders
7656
7681
7682
+
.. note:: This endpoint will create providers for both JSF and SPA. Use :ref:`jvm-options` / *MicroProfile Config* if you need to create SPA only providers.
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/installation/config.rst
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,16 @@ First of all, confirm that access is denied! If you are in fact able to access t
94
94
95
95
Still feel like activating this option in your configuration? - Have fun and be safe!
96
96
97
+
.. _signed-urls-forwarded-proto-header:
98
+
99
+
Using X-Forwarded-Proto for Signed URLs
100
+
+++++++++++++++++++++++++++++++++++++++
101
+
102
+
If you use a proxy such as Apache or Nginx, or have a firewall such as Anubis, and they are configured to forward traffic to Dataverse over HTTP
103
+
(i.e. your proxy receives user calls over HTTPS but forwards locally to Dataverse over HTTP), signed URLs, used by external tools and
104
+
upload apps (such as DVWebloader), are likely to fail unless you configure your proxy to send an X-Forwarded-Proto HTTP Header.
105
+
This allows Dataverse to recognize that the communication from the user was over HTTPS and that validation of signed URLs should assume
106
+
they started with https:// (rather than http:// as received from the proxy).
97
107
98
108
.. _PrivacyConsiderations:
99
109
@@ -5279,6 +5289,15 @@ This post-publish workflow is useful for actions such as sending notifications a
5279
5289
5280
5290
See :ref:`Workflow Admin section <workflow_admin>` for more details and context.
5281
5291
5292
+
.. _:PublishDatasetDisclaimerText:
5293
+
5294
+
:PublishDatasetDisclaimerText
5295
+
+++++++++++++++++++++++++++++
5296
+
5297
+
The text displayed to the user that must be acknowledged prior to publishing a Dataset. When not set the acknowledgment is not required nor displayed.
5298
+
5299
+
``curl -X PUT -d "By publishing this dataset, I fully accept all legal responsibility for ensuring that the deposited content is: anonymized, free of copyright violations, and contains data that is computationally reusable. I understand and agree that any violation of these conditions may result in the immediate removal of the dataset by the repository without prior notice." http://localhost:8080/api/admin/settings/:PublishDatasetDisclaimerText``
0 commit comments