Integration guides

Guides

Practical, framework-specific walkthroughs for wiring Authdog into your stack. Start with authentication, then layer on access control.

app.py
from authdog.fastapi import Authdog
 
authdog = Authdog(
public_key=os.environ["PK_AUTHDOG"]
)
 
@app.get("/me")
async def me(user):
return {"id": user.sub}