Appearance
Social Identity & CIAM Setup Guide
1. Microsoft Entra External ID (Azure)
- Log into the Azure Portal. Search for Tenant Creation.
- Select External (CIAM). Name the tenant
Synkronyx ERO. - Switch directories into your new External tenant.
- Go to App Registrations > New Registration.
- Name:
ERO PWA| Type: Single Page Application (SPA) | Redirect URI:http://localhost:4321. - Save the Application (client) ID and Directory (tenant) ID.
2. Google OAuth Setup ([email protected])
- Go to Google Cloud Console signed in as
[email protected]. - Click New Project > Name it
ERO-Auth. - Go to APIs & Services > OAuth consent screen.
- User Type: External > Fill in required emails > Publish the app.
- Go to Credentials > Create Credentials > OAuth client ID.
- Application Type: Web application.
- Authorized redirect URIs:
https://<your-tenant-name>.ciamlogin.com/<your-tenant-id>/oauth2/authresp - Save the Client ID and Client Secret.
3. Facebook OAuth Setup
- Go to Facebook Developers.
- Click Create App > Type: Authenticate and request data from users > Not a Game.
- Name:
ERO Auth> Create. - Go to Use Cases > Authentication and account creation > Customize.
- Go to Settings > Add Redirect URI:
https://<your-tenant-name>.ciamlogin.com/<your-tenant-id>/oauth2/authresp - Go to App Settings > Basic. Save App ID and App Secret.
4. Link IDPs to Entra
- Go back to your Azure Entra External ID Tenant.
- Go to External Identities > All identity providers.
- Add Google: Paste your Google Client ID & Secret.
- Add Facebook: Paste your Facebook App ID & Secret.
- Go to User flows > New user flow.
- Check Google, Facebook, and Email w/ Password.
- Save.
5. Agent Automation Directives
- ADO Backlog: Append Feature 5.2 (Social Identity Federation) to Epic 5, with tasks covering Google/Facebook integration into Entra CIAM.
- System Design: Update
SYSTEM_BUILDER.mdto document the Entra External ID architecture for social logins. - Bootstrapper: Update Section 4 of
scripts/bootstrap.ps1to natively prompt the user forSKNX_ERO_TENANT_IDandSKNX_ERO_CLIENT_IDusingRead-Host, and inject them intosettings/.env.local.