Skip to content

✨ Add Jinja2 template engine support documentation and examples#787

Merged
yezz123 merged 1 commit intomainfrom
Jinja-template
Jan 4, 2026
Merged

✨ Add Jinja2 template engine support documentation and examples#787
yezz123 merged 1 commit intomainfrom
Jinja-template

Conversation

@yezz123
Copy link
Copy Markdown
Owner

@yezz123 yezz123 commented Jan 4, 2026

Fixes #618

  • Introduced a new section in the documentation for using AuthX with Jinja2 template engines, detailing the differences from API authentication.
  • Added comprehensive examples for login, logout, and protected routes using Jinja2 templates.
  • Created a complete example application demonstrating cookie-based authentication and CSRF protection with Jinja2.
  • Updated the navigation in mkdocs.yml to include the new template engines section.

- Introduced a new section in the documentation for using AuthX with Jinja2 template engines, detailing the differences from API authentication.
- Added comprehensive examples for login, logout, and protected routes using Jinja2 templates.
- Created a complete example application demonstrating cookie-based authentication and CSRF protection with Jinja2.
- Updated the navigation in mkdocs.yml to include the new template engines section.
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
authx Ready Ready Preview, Comment Jan 4, 2026 5:20pm

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Jan 4, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.69%. Comparing base (5683049) to head (5843174).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #787   +/-   ##
=======================================
  Coverage   96.69%   96.69%           
=======================================
  Files          15       15           
  Lines         786      786           
  Branches       79       79           
=======================================
  Hits          760      760           
  Misses         20       20           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yezz123 yezz123 merged commit 6c288f6 into main Jan 4, 2026
20 of 21 checks passed
@yezz123 yezz123 deleted the Jinja-template branch January 4, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to use authx with Template Engine ex. Jinja2

2 participants