-
In the Azure Portal, go to **Container Apps** → nginx-agent
- Under Networking → Custom Domains , click “+ Add Custom Domain”

- Add in the custom domain you’d like, this will give you a cname and txt to validate that you own the domain

- Click Validate
Once validated, it could take up to 10 minutes to show as “secured” and correctly direct you to the Ai Portal

- Also validate that it is added as a redirect url in your app registration (For Azure):
- In the Azure portal, go to App Registrations → Multimodel AI Portal
- Go to Manage → Authentication
- Verify that your domain with the login endpoint exists as a Web Redirect URI.
(Should be https://XXXX_YOUR_DOMAIN_XXXX/.auth/login/aad/callback)

Also validate that it is added as a redirect url in your app registration (for Okta):
- Go to the applications menu in Okta → Multimodel AI Portal
- Under the Application go to URLs and update the login/logout urls
(Should be https://XXXX_YOUR_DOMAIN__/.auth/login/aad/callback)
