Azure AD / OIDC Setup¶
Azure AD is the primary enterprise authentication path for InfraLynx.
Required Registration Data¶
- client ID
- client secret
- issuer URL
- redirect URI
Recommended Redirect¶
Use the API callback endpoint:
http://localhost:4010/api/auth/oidc/callbackfor local bootstrap environments
Production environments should use the externally reachable API origin.
Flow¶
- InfraLynx performs OIDC discovery.
- UI requests an authorization redirect.
- User authenticates with the identity provider.
- Callback exchanges the authorization code using PKCE.
- InfraLynx maps the returned subject to a platform user.
Notes¶
- PKCE is always used
- issuer configuration must match the Azure tenant and app registration
- client secrets are encrypted at rest inside the auth service