Skip to content

Instantly share code, notes, and snippets.

View flarocca's full-sized avatar
💭
Coding...

Facundo La Rocca flarocca

💭
Coding...
View GitHub Profile
# Crear solución y projecto MVC
dotnet new sln --name AzureAdB2C
dotnet new mvc --name AzureAdB2C.MVC --output AzureAdB2C.MVC
dotnet sln add .\AzureAdB2C.MVC\AzureAdB2C.MVC.csproj
# Instalar las librerías necesarias
dotnet add .\AzureAdB2C.MVC\AzureAdB2C.MVC.csproj package Microsoft.Identity.Web
dotnet add .\AzureAdB2C.MVC\AzureAdB2C.MVC.csproj package Microsoft.Identity.Web.UI
# Restaurar y compilar
@flarocca
flarocca / create_mvc_web_app.txt
Last active March 31, 2021 15:54
Create MVC Web App
dotnet new sln -n AzureADB2C
dotnet new mvc -n AzureADB2C.MVC -o AzureADB2C.MVC
dotnet sln add .\AzureADB2C.MVC\AzureADB2C.MVC.csproj
@flarocca
flarocca / gist:70a994f2489e560eb3469b9ca0750e03
Created February 23, 2021 12:16
Azure AD B2C - Idioma - EN
// Español
https://linkedinazureadb2c.b2clogin.com/linkedinazureadb2c.onmicrosoft.com/oauth2/v2.0/authorize?
p=B2C_1_InicioSesionConRegistro&
client_id=f4adfa19-2162-449a-a083-a2c7a1834aec&
nonce=defaultNonce&
redirect_uri=https%3A%2F%2Fjwt.ms%2F&
scope=openid&
response_type=id_token&
prompt=login&
ui_locales=es <-- UI_LOCALES = ES