Skip to content

Feature: Allow to authenticate with arangosh using JWT token only #21878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: devel
Choose a base branch
from

Conversation

mchacki
Copy link
Member

@mchacki mchacki commented Jul 23, 2025

Scope & Purpose

This is a client tools change only. We now allow in all Client tools to authenticate with a JWT token. You can get a valid JWT token from ArangoDB server by using _open/auth endpoint https://docs.arangodb.com/3.12/develop/http-api/authentication/#create-a-jwt-session-token

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

  • Tests
    • Regression tests
    • C++ Unit tests
    • integration tests
    • resilience tests
  • 📖 CHANGELOG entry made
  • 📚 documentation written (release notes, API changes, ...)
  • Backports
    • Backport for 3.12.0: (Please link PR)
    • Backport for 3.11: (Please link PR)
    • Backport for 3.10: (Please link PR)

Related Information

(Please reference tickets / specification / other PRs etc)

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

@mchacki mchacki self-assigned this Jul 23, 2025
@cla-bot cla-bot bot added the cla-signed label Jul 23, 2025
@dothebart
Copy link
Contributor

please note that you will need to implement that logic in a way that the connection cache works with it.
Arangosh can keep several similar connections with different authentifications. On re-engaging it, everything needs to be restored.

Copy link
Contributor

@jbajic jbajic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants