> **Source:** https://knowledge.leegality.com/sign-station/api/auth-controller.tag > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # Auth Controller > Auth Controller The Authentication API provides endpoints for user authentication, token generation, and user session management within the Sign Station platform. This API handles both user login (username/password) and OAuth2 client authentication flows. The `/auth/login` and `/auth/token` endpoints do not require authentication (they generate tokens). The `/auth/me` endpoint requires a valid JWT Bearer token obtained from login or token endpoint. **Token Generation:** Use `/auth/login` for user tokens or `/auth/token` for OAuth2 client tokens. For dashboard sign-in, see [Logging In](https://knowledge.leegality.com/sign-station/getting-started/logging-in); to generate OAuth2 client credentials from the dashboard, see [API Credentials](https://knowledge.leegality.com/sign-station/api-credentials). ```mdx-code-block ```