Skip to content

Commit

Permalink
update azure ad login
Browse files Browse the repository at this point in the history
  • Loading branch information
rolorogan committed Nov 19, 2024
1 parent e13c4ff commit 1d5cdeb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 70 deletions.
3 changes: 1 addition & 2 deletions Wmca.Web/Wmca.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PackageReference Include="UFormKit" Version="1.0.5" />
<PackageReference Include="Umbraco.Cms" Version="13.5.2" />
<PackageReference Include="Limbo.Umbraco.BlockList" Version="13.0.1" />
<PackageReference Include="Umbraco.Community.AzureSSO" Version="2.0.0" />
<PackageReference Include="Umbraco.Community.AzureSSO" Version="2.2.0" />
<PackageReference Include="Umbraco.Community.Contentment" Version="5.0.2" />
<PackageReference Include="UmbracoPersonalisationGroups" Version="3.4.0" />
<PackageReference Include="uSync" Version="13.2.5" />
Expand Down Expand Up @@ -119,7 +119,6 @@
<!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto -->
<RazorCompileOnBuild>false</RazorCompileOnBuild>
<RazorCompileOnPublish>false</RazorCompileOnPublish>
<UserSecretsId>0f5ab4ee-19bc-42d3-a5d8-a8590e925713</UserSecretsId>
</PropertyGroup>

<PropertyGroup Condition=" '$(RunConfiguration)' == 'Umbraco.Web.UI' " />
Expand Down
33 changes: 0 additions & 33 deletions Wmca.Web/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,6 @@
"UmbracoApplicationUrl": "https://localhost:44353/"
}
}
},
"AzureSSO": {
"Credentials": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "",
"TenantId": "",
"ClientId": "",
"CallbackPath": "/umbraco-microsoft-signin/",
"SignedOutCallbackPath": "/umbraco-microsoft-signout/",
"ClientSecret": ""
},
"DisplayName": "your corporate account",
"DenyLocalLogin": false,
"AutoRedirectLoginToExternalProvider": false,
"TokenCacheType": "InMemory",
"GroupBindings": {
"8ac40f5e-c650-40df-8c1b-7fa452ab0ef1": "admin",
"3c86e2f0-4740-48e3-98bc-c50f5c3ac55f": "editor",
"2d8adcb9-7d06-4604-851b-9638eef97b92": "editorsWMCA",
"15069ae6-33b3-4601-a8cf-7e1bc843c190": "editorsWMCABlog",
"06f91d82-a7e5-4f7e-8fb6-e2f7e3af0f7e": "editorsMC",
"ba386b1c-7d34-4134-b48e-98522d958f86": "editorsST",
"0c878c3f-3db3-4dc4-ace2-77b1b27ab6e1": "sensitiveData",
"4e768869-41e1-4e23-9cba-64274346474a": "translator",
"58da0c39-8c0d-4f9e-82e0-e552370a8988": "writer",
"4e7b47d9-b648-4c08-8de9-c9d5ef17252d": "writersWMCA",
"76f2544e-2ca8-465c-b654-ec655d408098": "writersWMCABlog",
"194416a9-00db-439c-bf02-486ecfc4a933": "writersMC",
"13763cd8-a047-4380-b764-9cb1996dcd1c": "writersST"
},
"SetGroupsOnLogin": false,
"Icon": "icon-microsoft-fill",
"ButtonStyle": "secondary"
}
}

33 changes: 0 additions & 33 deletions Wmca.Web/appsettings.Production.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,6 @@
"UmbracoApplicationUrl": "https://www.cms.wmca.org.uk/"
}
}
},
"AzureSSO": {
"Credentials": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "",
"TenantId": "",
"ClientId": "",
"CallbackPath": "/umbraco-microsoft-signin/",
"SignedOutCallbackPath": "/umbraco-microsoft-signout/",
"ClientSecret": ""
},
"DisplayName": "your corporate account",
"DenyLocalLogin": false,
"AutoRedirectLoginToExternalProvider": false,
"TokenCacheType": "InMemory",
"GroupBindings": {
"8ac40f5e-c650-40df-8c1b-7fa452ab0ef1": "admin",
"3c86e2f0-4740-48e3-98bc-c50f5c3ac55f": "editor",
"2d8adcb9-7d06-4604-851b-9638eef97b92": "editorsWMCA",
"15069ae6-33b3-4601-a8cf-7e1bc843c190": "editorsWMCABlog",
"06f91d82-a7e5-4f7e-8fb6-e2f7e3af0f7e": "editorsMC",
"ba386b1c-7d34-4134-b48e-98522d958f86": "editorsST",
"0c878c3f-3db3-4dc4-ace2-77b1b27ab6e1": "sensitiveData",
"4e768869-41e1-4e23-9cba-64274346474a": "translator",
"58da0c39-8c0d-4f9e-82e0-e552370a8988": "writer",
"4e7b47d9-b648-4c08-8de9-c9d5ef17252d": "writersWMCA",
"76f2544e-2ca8-465c-b654-ec655d408098": "writersWMCABlog",
"194416a9-00db-439c-bf02-486ecfc4a933": "writersMC",
"13763cd8-a047-4380-b764-9cb1996dcd1c": "writersST"
},
"SetGroupsOnLogin": false,
"Icon": "icon-microsoft-fill",
"ButtonStyle": "secondary"
}
}

4 changes: 2 additions & 2 deletions Wmca.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
}
},
"ConnectionStrings": {
"umbracoDbDSN": "Data Source=(LocalDb)\\MSSQLLocalDB;Initial Catalog=TestDB2;Integrated Security=True",
"umbracoDbDSN_ProviderName": "System.Data.SqlClient"
"umbracoDbDSN": "",
"umbracoDbDSN_ProviderName": ""
},
"uSync": {
"Publisher": {
Expand Down

0 comments on commit 1d5cdeb

Please sign in to comment.