Skip to content
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

Minor JWT Feature #3290

Merged
merged 8 commits into from
Dec 2, 2024
Merged

Minor JWT Feature #3290

merged 8 commits into from
Dec 2, 2024

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Nov 29, 2024

JWT Authentication Guide

Setup

  1. Set environment variable on your server:
export JWT_PUBLIC_KEY_URL=http://localhost:8000/public-key.pem

Authentication Flow

  1. Get JWT Token
POST https://auth.yourservice.com/login
{
  "email": "[email protected]",
  "password": "yourpassword"
}
  1. Use Token in API Requests
curl -H "Authorization: Bearer YOUR_JWT_TOKEN" \
     https://api.yourservice.com/protected-endpoint

Copy link

vercel bot commented Nov 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 2, 2024 4:19pm

@pablonyx pablonyx changed the title first pass Minor JWT Feature Nov 30, 2024
@pablonyx pablonyx marked this pull request as ready for review December 2, 2024 01:53
@rkuo-danswer rkuo-danswer added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit 813445a Dec 2, 2024
11 of 13 checks passed
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.

2 participants