{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":["LightboxImage"]},"type":"markdown"},"seo":{"title":"Developer Documentation","siteUrl":"https://developers.frontegg.com/","llmstxt":{"title":"Frontegg Developer Documentation","description":"Authentication, authorization, and user management for Customer Identity, plus Agen for SaaS and Agen for Work. Guides, SDKs, and API references.","sections":[{"title":"Customer Identity (CIAM)","description":"Auth, SSO, SCIM, entitlements, and user management — guides, SDKs, and APIs.","includeFiles":["ciam/**/*.md"],"excludeFiles":[]},{"title":"Agen for SaaS","description":"Agentic access and authorization for SaaS products.","includeFiles":["agen-for-saas/**/*.md"],"excludeFiles":[]},{"title":"Agen for Work","description":"Agentic access and authorization for internal and workforce use.","includeFiles":["agen-for-work/**/*.md"],"excludeFiles":[]},{"title":"Platform","description":"Shared platform overview.","includeFiles":["platform/**/*.md"],"excludeFiles":[]}],"excludeFiles":["internal-docs/**","ciam/guides/env-settings/inject-client-ip.md","CLAUDE.md",".claude/**","**/images/**"],"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The environment authentication endpoint uses your ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientId"]}," and ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API key"]}," to get a management token with access to all resources in your Frontegg environment. If you have a personal or API token from your Frontegg account, you can also use it to authenticate with this endpoint."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The environment token (JWT) returned when using Frontegg account client credentials API token will have access to all environments, defaulting to the first one (development)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To use a environment token that was generated through the Frontegg portal → Administration and specify which environment to use it for, include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["frontegg-environment-id"]}," header in each request with the environment's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientId"]},"."]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/vendor-auth.078eb377af5a0d5c6783365e8fe2e8a254efef03e566b7286794d73efc58eeb3.5d7ec2b2.png","alt":"vendor"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Generate a management token for your environment through the API explorer and use it for consequent management requests as the bearer."]}]},"headings":[],"frontmatter":{"seo":{"title":""}},"lastModified":"2025-11-04T13:25:50.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ciam/api/descriptions/vendor","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}