In order to allow GUI authentication to Tanzu Application Platform via AzureAD, we will implement AzureAD Authentication Provider for Backstage.
To add AzureAD authentication, you must create either a AzureAD App, or an OAuth App from the AzureAD developer settings.
The Homepage URL should point to Backstage's frontend, while the Authorization callback URL will point to the auth backend.
Settings for local development:
- Application name: TAP-Backstage (or your custom app name)
- Homepage URL: http://DOMAIN-NAME
- Authorization callback URL: http://DOMAIN-NAME/api/auth/github/handler/frame
tap-gui:
app_config:
auth:
environment: development
providers:
microsoft:
development:
clientId: ${AUTH_MICROSOFT_CLIENT_ID}
clientSecret: ${AUTH_MICROSOFT_CLIENT_SECRET}
tenantId: ${AUTH_MICROSOFT_TENANT_ID}Where:
clientId: Application (client) ID, found on App Registration > Overview.clientSecret: Secret, found on App Registration > Certificates & secrets.tenantIdDirectory (tenant) ID, found on App Registration > Overview