Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienbod/entraexternalidciam
CIAM Microsoft Entra External ID for customers (CIAM)
https://github.com/damienbod/entraexternalidciam
aspnetcore azureadb2c ciam dotnet entra
Last synced: about 2 months ago
JSON representation
CIAM Microsoft Entra External ID for customers (CIAM)
- Host: GitHub
- URL: https://github.com/damienbod/entraexternalidciam
- Owner: damienbod
- License: mit
- Created: 2022-12-17T11:16:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-22T06:10:05.000Z (7 months ago)
- Last Synced: 2024-11-01T13:42:08.834Z (2 months ago)
- Topics: aspnetcore, azureadb2c, ciam, dotnet, entra
- Language: HTML
- Homepage: https://damienbod.com/2023/05/30/asp-net-core-authentication-using-microsoft-entra-external-id-for-customers-ciam/
- Size: 921 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microsoft Entra External ID for customers (CIAM)
[![.NET](https://github.com/damienbod/EntraExternalIdCiam/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/EntraExternalIdCiam/actions/workflows/dotnet.yml)
- [ASP.NET Core authentication using Microsoft Entra External ID for customers (CIAM)](https://damienbod.com/2023/05/30/asp-net-core-authentication-using-microsoft-entra-external-id-for-customers-ciam/)
- [ASP.NET Core authorization using Entra External ID CIAM and Azure AD security groups](https://damienbod.com/2023/06/05/asp-net-core-authorization-using-entra-external-id-ciam-and-azure-ad-security-groups/)Code Flow with PKCE using Microsoft.Identity.Web client
```csharp
builder.Services.AddDistributedMemoryCache();builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
.AddMicrosoftIdentityWebApp(builder.Configuration.GetSection("EntraExternalID"))
.EnableTokenAcquisitionToCallDownstreamApi()
.AddDistributedTokenCaches();
```appsettings.json for CIAM
```json
"EntraExternalID": {
"Authority": "https://damienbodciam.onmicrosoft.ciamlogin.com",
"ClientId": "0990af2f-c338-484d-b23d-dfef6c65f522",
"CallbackPath": "/signin-oidc",
"SignedOutCallbackPath ": "/signout-callback-oidc"
// "ClientSecret": "--in-user-secrets--" // use certificate for prod
},
```## History
- 2024-06-22 Updated packages
- 2023-11-03 Updated packages## Links
https://learn.microsoft.com/en-us/azure/active-directory/external-identities/customers
https://learn.microsoft.com/en-us/azure/active-directory/external-identities/
https://www.microsoft.com/en-us/security/business/identity-access/microsoft-entra-external-id
https://www.cloudpartner.fi/?p=14685
https://developer.microsoft.com/en-us/identity/customers
https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-external-id-public-preview-developer-centric/ba-p/3823766
https://github.com/Azure-Samples/ms-identity-ciam-dotnet-tutorial