Skip to content

[DE-69] jwt authentication #421

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

Merged
merged 12 commits into from
Dec 29, 2021
Merged

[DE-69] jwt authentication #421

merged 12 commits into from
Dec 29, 2021

Conversation

rashtao
Copy link
Collaborator

@rashtao rashtao commented Dec 28, 2021

Implement support to JWT authentication for VST and HTTP connections, for sync and async variants.

Create new API to:

set the JWT token in configuration file (sync and async)

set the JWT in the driver builder (sync and async)

update the JWT at runtime (sync and async)

NOTE: in VST the JWT is checked only in the initial authentication request. Any follow-up requests over the same connection will not re-validate the JWT, therefore there is no need for the driver to close VST connections whose authentication JWT has expired.

doc PR: arangodb/docs#856


fixes #335

@rashtao rashtao merged commit 2ea4b4e into master Dec 29, 2021
@rashtao rashtao deleted the feature/jwt branch July 19, 2022 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JWT Support
1 participant