Skip to content
Back to skills

Authn Authz

ASecurity

Authentication and authorisation: sessions vs JWT, OAuth/OIDC, RBAC/ABAC and ownership checks.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsrustbackendsecurity

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill authn-authz --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Authn Authz?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Authn Authz
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-authn-authz/badge)](https://www.skillsdirectory.com/skills/karthikrshet-authn-authz)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: authn-authz
description: "Authentication and authorisation: sessions vs JWT, OAuth/OIDC, RBAC/ABAC and ownership checks."
tags: [backend, security]
---

# Authn Authz

## When to use

- Login flows, protected resources, multi-tenant apps

## Procedure

1. Use a proven provider or library
2. Short-lived tokens with refresh rotation
3. Check ownership on every resource access
4. Centralise policy
5. Test negative cases

## Checklist

- [ ] IDOR tests exist
- [ ] Tokens revocable

## Anti-patterns

- Rolling your own crypto
- Trusting role claims from the client

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.