IQSS / IQSS/dataverse

delete dataverse.feature.api-session-auth

Open
#11,840 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

@GPortas assures me dataverse.feature.api-session-auth is no longer needed, so let's delete it, especially since there's a security warning:

/**
 * Enables API authentication via session cookie (JSESSIONID). Caution: Enabling this feature flag may
 * expose the installation to CSRF risks
 * @apiNote Raise flag by setting "dataverse.feature.api-session-auth"
 * @since Dataverse 5.14
 */
API_SESSION_AUTH("api-session-auth"),

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the Java sources for API_SESSION_AUTH and the string api-session-auth to locate the feature declaration and any remaining references. Remove the obsolete feature flag and confirm that the security-warning documentation for it is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, security
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.