GraphQL login for local provider
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- Adds the GraphQL mutation
oAuthCreateToken(payload: OAuthCreateTokenInput!): OAuthTokens!(Password and Refresh Token grants) — the twin of the RESTPOST /api/o-auth/token, both delegating to the same composite handler. - Wires the Aurora login form to that mutation: in-flight loading state, guard verification, redirect to
/on success (staying on/auth/sign-inon failure), andauthenticationPasswordGuardon protected routes. Login strings are translatable.
Why it matters
Section titled “Why it matters”The local-provider backend shipped a REST token endpoint, but the frontend called a GraphQL mutation that did not exist — so the login form was broken against it. The flow now works end to end in the browser. REST remains for RFC 6749-conformant external clients; GraphQL serves Aurora’s own frontends — one business flow over two transports. An unsupported grant_type returns an OAuth2-conformant error.