OAuth applications are pro-code OSDK applications hosted within Foundry that support interactive user authentication using the authorization grant flow. These applications leverage Foundry security primitives for interactive custom applications.
Foundry-hosted OAuth applications are ideal for the following use cases:
User → Foundry Subdomain → OAuth Flow → OSDK App → Foundry APIs
Foundry-hosted applications are deployed at dedicated subdomains (for example, https://subdomain-for-app.your-foundry-domain.com/
) and follow the interactive login flow with OAuth redirect where consent is configurable.
Before setting up a Foundry-hosted OAuth application, ensure the following:
Follow our documentation to create a new OSDK application.
Build your frontend application using the OSDK framework. You can review a TypeScript example in our OSDK documentation.
Deploy your OSDK application to be hosted on Foundry, and remember your subdomain.
You now have a working Foundry-hosted application for secure external consumer use. Your OSDK application provides authenticated users with secure access to Foundry data and functionality while maintaining appropriate permission boundaries and user isolation.