# auth.md

The w3Develops developer API uses an approved OAuth client and member consent. Automated account creation and agent self-registration are unavailable.

## Request access

An existing member can sign in and [request developer API access](https://w3develops.org/developer/access). A maintainer must approve the request before the member can authorize the client.

## Authorize the CLI

Approved members use the registered w3Develops CLI (client ID `w3develops-cli`). The CLI opens the browser for member sign-in and consent, then uses OAuth authorization code with S256 PKCE to request the read-only `directory:read` scope.

- [OAuth authorization server metadata](https://w3develops.org/.well-known/oauth-authorization-server)
- [OAuth protected resource metadata](https://w3develops.org/.well-known/oauth-protected-resource/api/developer/v1/study-groups)
- [Protected study-group directory](https://w3develops.org/api/developer/v1/study-groups)

The CLI uses a bearer token that expires after 10 minutes. Members can revoke access from the [developer access page](https://w3develops.org/developer/access).
