Skip to content

Commit

Permalink
Fix for #19 Install Error AzureADB2CProvider:Cannot insert duplicate …
Browse files Browse the repository at this point in the history
…key row
  • Loading branch information
davidjrh committed Jun 24, 2021
1 parent e78cf11 commit 1694b9f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 59 deletions.
88 changes: 33 additions & 55 deletions DotNetNuke.Authentication.Azure.B2C/AzureADB2CProvider.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="AzureADB2CProvider" type="Auth_System" version="01.04.06">
<package name="AzureADB2CProvider" type="Auth_System" version="01.04.07">
<friendlyName>DNN Azure Active Directory B2C Provider</friendlyName>
<description>
The DNN Azure Active Directory B2C Provider is an Authentication provider for DNN Platform that uses Azure Active Directory B2C OAuth2 authentication to authenticate users.
Expand Down Expand Up @@ -146,7 +146,37 @@
</moduleDefinitions>
</desktopModule>
</component>


<component type="Module">
<desktopModule>
<moduleName>AzureAD.B2C.Impersonate</moduleName>
<foldername>AzureAD.B2C.Impersonate</foldername>
<businessControllerClass>DotNetNuke.Authentication.Azure.B2C.Components.FeatureController</businessControllerClass>
<supportedFeatures>
<supportedFeature type="Upgradeable" />
</supportedFeatures>
<moduleDefinitions>
<moduleDefinition>
<friendlyName>AzureAD.B2C.Impersonate</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/AuthenticationServices/AzureB2C/Impersonate.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
</component>


<component type="Config">
<config>
<configFile>web.config</configFile>
Expand Down Expand Up @@ -188,7 +218,7 @@
</components>
</package>

<package name="AzureADB2CProvider" type="Module" version="01.04.06">
<package name="AzureADB2CProvider" type="Module" version="01.04.07">
<friendlyName>DNN Azure Active Directory B2C User Management</friendlyName>
<description>
The DNN Azure Active Directory B2C Provider is an Authentication provider for DNN Platform that uses Azure Active Directory B2C OAuth2 authentication to authenticate users.
Expand Down Expand Up @@ -251,57 +281,5 @@
</components>
</package>

<package name="AzureADB2CProvider" type="Module" version="01.04.06">
<friendlyName>DNN Azure Active Directory B2C Impersonation</friendlyName>
<description>
The DNN Azure Active Directory B2C Provider is an Authentication provider for DNN Platform that uses Azure Active Directory B2C OAuth2 authentication to authenticate users.
</description>
<iconFile>~/DesktopModules/AuthenticationServices/AzureB2C/Images/azure.png</iconFile>
<owner>
<name>Intelequia</name>
<organization>Intelequia Software Solutions</organization>
<url>http://intelequia.com</url>
<email>info@intelequia.com</email>
</owner>
<license src="AzureADB2CLicense.txt" />
<releaseNotes src="AzureADB2CReleaseNotes.txt"/>
<azureCompatible>true</azureCompatible>
<dependencies>
<dependency type="CoreVersion">09.03.00</dependency>
</dependencies>

<components>

<component type="Module">
<desktopModule>
<moduleName>AzureAD.B2C.Impersonate</moduleName>
<foldername>AzureAD.B2C.Impersonate</foldername>
<businessControllerClass>DotNetNuke.Authentication.Azure.B2C.Components.FeatureController</businessControllerClass>
<supportedFeatures>
<supportedFeature type="Upgradeable" />
</supportedFeatures>
<moduleDefinitions>
<moduleDefinition>
<friendlyName>AzureAD.B2C.Impersonate</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>DesktopModules/AuthenticationServices/AzureB2C/Impersonate.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle />
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
</component>
</components>
</package>

</packages>
</dotnetnuke>
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,8 @@
<li>Added support for B2C tenants using usernames instead of e-mails (or both) on login</li>
<li>Fix user management impersonation</li>
</ul>

<p style="margin-top: 20px"><b>Version 01.04.07</b></p>
<ul style="margin: 5px 0 0 30px">
<li>Fixed issue in the manifest causing a duplicate PK error during installation</li>
</ul>
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.4.6.0")]
[assembly: AssemblyFileVersion("1.4.6.0")]
[assembly: AssemblyVersion("1.4.7.0")]
[assembly: AssemblyFileVersion("1.4.7.0")]

4 changes: 2 additions & 2 deletions docs/images/BadgeRelease.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1694b9f

Please sign in to comment.