Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login option is shown after uninstalling the Microsoft Azure Active Directory Single Sign-On (SSO) (Pro) #12

Closed
AndreeaChi opened this issue Jun 14, 2022 · 2 comments
Assignees
Labels
Priority : Major Type: Bug Something isn't working
Milestone

Comments

@AndreeaChi
Copy link

AndreeaChi commented Jun 14, 2022

After uninstalling the Microsoft Azure Active Directory Single Sign-On (SSO) (Pro) this is how the login looks:
image

When looking at the Global Administration > Extensions > Licenses table, we can see Configuration Pages for Microsoft Azure Active Directory Single Sign-On (SSO) (Pro).

After uninstalling it this is how the login page looks:
image

Checking again the Licenses table, we can see Identity OAuth (Pro) and Microsoft Azure Active Directory Single Sign-On (SSO) (pro) API .
image

After uninstalling Microsoft Azure Active Directory Single Sign-On (SSO) (pro) API this is how the login looks:

image

After uninstalling Identity OAuth (Pro) the AzureAD login option has disappeared.
image

However, after a while, when going on the login page there is a warning shown again:
image

There is one more dependency extension listed - Identity OAuth Integration (API) - in the Licenses table.
image

When trying to login with the XWiki credentials, I am redirected to another login page with the URL https://tryazureadapp.demo.xwiki.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin
image

Even if I enter my XWiki credentials, the login is not done. I needed to restart the instance to have again access to the wiki.

After the restart, here is how the login page looks, with a Broken Azure AD option:
image

Now, I'm able to login using the XWiki account credentials.

Going on the Global administration > Extensions > Licenses, I see that the Microsoft Azure Active Directory Single Sign-On (SSO) (Pro) appears again in the table:
image
Thus, I need to restart the uninstall process of the AzureAD app, plus all its' four dependencies.

So then, all four dependency extensions seem to need to be uninstalled for a complete removal: Configuration Pages for Microsoft Azure Active Directory Single Sign-On (SSO) (Pro), Identity OAuth (Pro), Microsoft Azure Active Directory Single Sign-On (SSO) (pro) API and Identity OAuth Integration (API).

@AndreeaChi AndreeaChi changed the title Broken login option is shown after uninstalling the Microsoft Azure Active Directory Single Sign-On (SSO) (Pro) Login option is shown after uninstalling the Microsoft Azure Active Directory Single Sign-On (SSO) (Pro) Jun 16, 2022
@AndreeaChi
Copy link
Author

AndreeaChi commented Jun 16, 2022

In the meantime, I have updated the installation page on the app store with the need to uninstall these four dependencies when wanting to uninstall the Azure AD application. https://store.xwiki.com/xwiki/bin/view/Extension/MicrosoftAzureSSO/#installation

@oanalavinia
Copy link
Contributor

These problems are caused by an Identity OAuth issue xwikisas/identity-oauth#12
So after the fix is applied, it should be enough to only uninstall the Microsoft Azure Active Directory Single Sign-On (SSO) (Pro) for the login to work properly.

Note that when you uninstall Microsoft Azure Active Directory Single Sign-On (SSO) (Pro), the AzureAD.AzureADConfig page is not marked by default to be deleted (since it was modified when Azure account information was added) and should be manually checked . See the screenshot below
uninstallAzureAD
In case the application was uninstalled and you forgot to check for the AzureAD.AzureADConfig page to be deleted, you can still delete it manually for the uninstall to be complete.

@oanalavinia oanalavinia self-assigned this Aug 4, 2022
@trrenty trrenty added this to the 1.5.5 milestone Sep 14, 2022
@trrenty trrenty closed this as completed Sep 14, 2022
@mflorea mflorea added Type: Bug Something isn't working Priority : Major labels Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority : Major Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants