DEV Community

Auth By Example profile picture

Auth By Example

Practical lessons on auth, authorization, and access control.

Joined Joined on  Personal website https://www.permit.io
mTLS proves which service called you — not what it may do

mTLS proves which service called you — not what it may do

Comments
1 min read
OAuth scopes are not your app's authorization model

OAuth scopes are not your app's authorization model

Comments
1 min read
Creating a child resource still needs a check on the parent

Creating a child resource still needs a check on the parent

Comments
1 min read
Frontend route guards are not authorization

Frontend route guards are not authorization

1
Comments
1 min read
Feature flags are not access control

Feature flags are not access control

1
Comments
1 min read
An internal network is not a permission

An internal network is not a permission

Comments
1 min read
Batch APIs still need per-item authorization

Batch APIs still need per-item authorization

Comments
1 min read
Validate the JWT audience claim

Validate the JWT audience claim

Comments
1 min read
Pull the tenant from the auth context, not the request body

Pull the tenant from the auth context, not the request body

Comments 1
1 min read
Authorize the object, not just the route

Authorize the object, not just the route

Comments 1
1 min read
Separate who can grant from who can act

Separate who can grant from who can act

Comments
1 min read
Never trust a client-supplied tenant ID

Never trust a client-supplied tenant ID

Comments
1 min read
Check permissions again after every trust boundary

Check permissions again after every trust boundary

Comments
1 min read
Default-deny beats allow-everything-then-trim

Default-deny beats allow-everything-then-trim

Comments
1 min read
loading...