Skip to content

Authentication

Generate at platform.marc27.com/dashboard/api-keys or via the API.

Terminal window
curl -H "X-API-Key: m27_your_key_here" \
https://api.marc27.com/api/v1/users/me
  • Never expires
  • Tied to a user + project
  • Preferred for automation, agents, CI/CD

OAuth login via GitHub, Google, ORCID, or SSO/SAML. The platform exchanges the OAuth token for a platform JWT.

Authorization: Bearer eyJ0eXAiOiJKV1Qi...
  • Expires (refresh with /api/v1/auth/refresh)
  • Used by the dashboard and SDK

prism login uses the device flow — you get a URL, open it in your browser, approve, and the CLI stores the token.

Terminal window
prism login
# Opens browser → approve → done
# Token stored at ~/.prism/credentials.json

Set one environment variable:

Terminal window
export MARC27_API_KEY=m27_your_key_here

Every prism --platform command and API call uses it automatically. No login, no token refresh, no OAuth dance.