---
title: "Nodinite on Azure Container Apps: Core Services Sandbox, OAuth, and Bicep Deployment"
description: Run an experimental Nodinite Azure Container Apps sandbox with Core Services only. Learn architecture, required OAuth 2.0 setup, Portal ZIP delivery flow, readme/Bicep deployment steps, and mandatory environment variables for external SQL Server and external identity provider.
---

# :fa-container-storage: Run Nodinite on Azure Container Apps (Experimental Sandbox)

Use this page to understand how to run :Nodinite: in Azure Container Apps as an experimental sandbox for learning and pre-production validation.

This runtime follows the same container-first direction as Docker and Kubernetes, but with a managed Azure control plane. In this stage, the scope is intentionally limited to :Nodinite: [Core Services][].

## :fa-circle-info: Current Scope and Boundaries

The Azure Container Apps track is currently a sandbox path.

* :fa-box-open: :Nodinite: [Core Services][] are included.
* :fa-user-gear: Monitoring agents and logging agents are not included.
* :fa-key: OAuth 2.0 and OpenID Connect are required.
* :fa-database: [SQL Server][SQL Server Options] is not shipped as part of this sandbox.
* :fa-id-card: Keycloak is not shipped as part of this sandbox.

>[!IMPORTANT]
>The current Azure Container Apps sandbox delivers only :Nodinite: Core Services. You must provide external dependencies such as SQL Server and an OAuth 2.0/OpenID Connect identity provider.

## :fa-network-wired: Understanding the Azure Container Apps Architecture

Azure Container Apps is a managed container service that runs on Kubernetes foundations. For :Nodinite:, this means you get managed runtime operations while still using container-native configuration via environment variables.

In this runtime track, Core Services are self-hosted .NET 10 web applications on assigned ports in Azure Container Apps. IIS is not used.

<div class="mermaid">
flowchart LR
    USER["fa:fa-user User"]
    ACA["fa:fa-cloud Azure Container Apps<br/>Nodinite Core Services"]
    ENV["fa:fa-file-lines nodinite.parameters.env<br/>Environment Variables"]
    BICEP["fa:fa-file-code Bicep Deployment"]
    SQL["fa:fa-database External SQL Server"]
    IDP["fa:fa-id-card External OAuth 2.0/OpenID Connect IDP"]
    PORTAL["fa:fa-globe Nodinite Portal ZIP"]
    USER --> ACA
    PORTAL --> BICEP
    PORTAL --> ENV
    BICEP --> ACA
    ENV --> ACA
    ACA --> SQL
    ACA --> IDP
    style ACA fill:#93d16d
    style ENV fill:#2678BD
    style SQL fill:#FFD525
    style IDP fill:#FFD525
</div>

*Diagram: Azure Container Apps sandbox flow where the ZIP from :Nodinite: Portal provides Bicep and environment variables, and [Core Services][] connect to external [SQL Server][SQL Server Options] and external OAuth 2.0/OpenID Connect identity provider.*  

![Nodinite Azure Container Apps Runtime (7.8.0)][1]  
*Example of :Nodinite: Core Services running in Azure Container Apps with external SQL Server and OAuth 2.0/OpenID Connect identity provider dependencies.*  

## :fa-table: Component Responsibilities

| Component | Responsibility | Provided in sandbox ZIP |
| --- | --- | --- |
| Core Services containers | Runs :Nodinite: web and API workloads | ✅ Yes |
| Bicep template | Deploys Azure Container Apps resources | ✅ Yes |
| nodinite.parameters.env | Holds required environment variables | ✅ Yes |
| SQL Server | Stores :Nodinite: data | ❌ No, customer must provide |
| Identity provider | Issues OAuth 2.0/OpenID Connect tokens | ❌ No, customer must provide |
| Keycloak | Optional identity product | ❌ No, not shipped in this sandbox |

## :fa-download: Installation Package and Deployment Flow

Download the installation ZIP from [Nodinite Portal][Nodinite Portal]<sup>:fa-arrow-up-right-from-square:</sup>.

The ZIP includes:

* :fa-file-lines: `nodinite.parameters.env`
* :fa-file-code: Bicep deployment file
* :fa-file-lines: `readme.md` with runtime deployment instructions
* :fa-box-open: Core Services container deployment configuration

## :fa-file-zipper: Container Registry and Runtime Instructions

For Azure Container Apps, use the customer-specific ZIP from [Nodinite Portal][Nodinite Portal]<sup>:fa-arrow-up-right-from-square:</sup> as the source of truth for deployment.

The bundled `readme.md` describes how to:

* :fa-box-archive: Pull container images from the container registry.
* :fa-file-code: Apply Bicep files with `az` command usage.
* :fa-key: Configure OAuth 2.0/OpenID Connect values before runtime startup.

### 1. Prepare Required External Services

Before deployment, prepare:

* :fa-database: A reachable SQL Server instance for :Nodinite: databases.
* :fa-id-card: An OAuth 2.0/OpenID Connect identity provider.
* :fa-shield-halved: Required tenant/network access so Azure Container Apps can reach SQL Server and your identity provider.

### 2. Configure nodinite.parameters.env

The `nodinite.parameters.env` file must include all required runtime values.

In the current process, update this file manually. In a future :Nodinite: Portal flow, the same file can be pre-populated from standard customer environment configuration.

At minimum, include values for:

* :fa-database: SQL Server host, port, database names, and credentials/secret references.
* :fa-key: OAuth 2.0/OpenID Connect issuer URL, client ID, client secret reference, and redirect settings.
* :fa-link: Public endpoint and callback URLs used by :Nodinite: Core Services.

>[!TIP]
>Store sensitive values in secure secret stores and reference them from environment variables instead of hard-coding secrets in plain text.

### 3. Execute the Bicep Deployment

Run the included Bicep deployment with your selected Azure subscription and resource group.

The Bicep file provisions and configures Azure Container Apps resources for :Nodinite: Core Services by applying values from `nodinite.parameters.env`.

### 4. Validate OAuth 2.0 and OpenID Connect

After deployment:

* :fa-arrow-right-to-bracket: Verify sign-in redirects to your identity provider.
* :fa-list-check: Verify token validation and claims mapping in :Nodinite:.
* :fa-rotate: Verify callbacks and redirect URIs match your configured public endpoint.

If OAuth validation fails, review [Troubleshooting OAuth2 Validation Failures][Troubleshooting OAuth2 Validation Failures].

## :fa-screwdriver-wrench: Troubleshooting Checklist

Use this checklist when the sandbox does not start or authenticate correctly.

* :fa-file-lines: Confirm all mandatory keys exist in `nodinite.parameters.env`.
* :fa-database: Confirm SQL Server firewall and connectivity from Azure Container Apps.
* :fa-key: Confirm OAuth 2.0/OpenID Connect issuer, audience, and client settings.
* :fa-link: Confirm callback and redirect URIs exactly match configured application URLs.
* :fa-diagram-project: Confirm the Bicep deployment completed without failed resources.

## :fa-code-compare: Azure Container Apps vs Docker vs Kubernetes Sandbox

| Runtime | Platform model | Current :Nodinite: sandbox scope | Who provides SQL Server and IDP |
| --- | --- | --- | --- |
| Azure Container Apps | Managed Kubernetes service in Azure | Core Services only | Customer |
| Docker | Local or host-managed containers | Core Services only | Customer |
| Kubernetes | Cluster-managed containers | Core Services only | Customer |

## :fa-link: Useful Azure References

* [Azure Container Apps documentation](https://learn.microsoft.com/azure/container-apps/)<sup>:fa-arrow-up-right-from-square:</sup>
* [What is Azure Container Apps?](https://learn.microsoft.com/azure/container-apps/overview)<sup>:fa-arrow-up-right-from-square:</sup>
* [Bicep documentation](https://learn.microsoft.com/azure/azure-resource-manager/bicep/)<sup>:fa-arrow-up-right-from-square:</sup>
* [Azure SQL documentation](https://learn.microsoft.com/azure/azure-sql/)<sup>:fa-arrow-up-right-from-square:</sup>
* [Microsoft identity platform and OpenID Connect](https://learn.microsoft.com/entra/identity-platform/v2-protocols-oidc)<sup>:fa-arrow-up-right-from-square:</sup>

## :fa-hand-point-right: Next Steps

* :fa-box-open: [Docker (Experimental POC)][Docker Troubleshooting]  
* :fa-dharmachakra: [Kubernetes (Experimental POC)][Kubernetes Troubleshooting]  
* :fa-cloud: [OpenShift (Experimental Sandbox)][OpenShift Troubleshooting]  
* :fa-sitemap: [Runtime Environments Overview][Runtime Environments Overview]  
* :fa-id-card: [Container Runtime and Licensing Guidance][Container Runtime and Licensing]  
* :fa-key: [Install Nodinite v7 - OpenID][Install OpenID]  
* :fa-wrench: [Troubleshooting Overview][Troubleshooting Overview]  

## :fa-link-horizontal: Related Topics

* :fa-route: [Choose Where Nodinite Runs][ChooseWhere]  
* :fa-cloud: [Azure Application Access][Azure Application Access]  
* :fa-lock: [Troubleshooting OAuth2 Validation Failures][Troubleshooting OAuth2 Validation Failures]  
* :fa-cloud: [Nodinite Portal][Nodinite Portal]<sup>:fa-arrow-up-right-from-square:</sup>  
* :fa-rocket: [Installation Guide][Installation Guide]  
* :fa-box: [Core Services Overview][Core Services]  
* :fa-sitemap: [Runtime Environments Overview][Runtime Environments Overview]  
* :fa-forward-step: [Step 1: Basics – choose the runtime][Step01 Runtime]  

[1]:{ndm}/Documentation%20Pictures/IM/IMUpdate/Troubleshooting/AzureContainerApp/NodiniteContainerApps.png

[Azure Application Access]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access.md
[ChooseWhere]:{ndr}/Install%20and%20Update/Overview.md#choose-where-nodinite-runs
[Container Runtime and Licensing]:{ndr}/Install%20and%20Update/Troubleshooting/Docker/Container%20Runtime%20and%20Licensing.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Docker Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/Docker/Overview.md
[Install OpenID]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20-%20OpenID.md
[Installation Guide]:{ndr}/Install%20and%20Update/Getting%20started/3.%20Installation%20Guide.md
[Kubernetes Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/Kubernetes/Overview.md
[Nodinite Portal]:https://portal.nodinite.com/
[OpenShift Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/OpenShift/Overview.md
[Runtime Environments Overview]:{ndr}/Install%20and%20Update/Troubleshooting/Runtime%20Environments/Overview.md
[SQL Server Options]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Options.md
[Step01 Runtime]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/01%20-%20Basics.md#choose-the-runtime-model
[Troubleshooting OAuth2 Validation Failures]:{ndr}/Install%20and%20Update/Troubleshooting/OAuth%202.0/Troubleshooting%20OAuth2%20Validation%20Failures.md
[Troubleshooting Overview]:{ndr}/Install%20and%20Update/Troubleshooting/Overview.md