# Browser Auth Skill

> Sample skill that authenticates via Microsoft MSAL browser login. Models a real Azure MSAL auth shape for compat-detector regression tests.

- Skill: `jdutton/browser-auth-skill` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jdutton/browser-auth-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jdutton/browser-auth-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: jdutton (https://skillmd.com/u/jdutton)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/jdutton/browser-auth-skill

---


# Browser-auth skill

This skill authenticates users via Azure AD using MSAL's public client
flow.

```python
from msal import PublicClientApplication

app = PublicClientApplication(
    client_id=CLIENT_ID,
    authority="https://login.microsoftonline.com/common",
)
result = app.acquire_token_interactive(scopes=["User.Read"])
```

