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

Azure users with empty names get an error upon login #6

Closed
oanat opened this issue Oct 6, 2021 · 3 comments
Closed

Azure users with empty names get an error upon login #6

oanat opened this issue Oct 6, 2021 · 3 comments
Assignees
Milestone

Comments

@oanat
Copy link

oanat commented Oct 6, 2021

Some Azure users got the following error when trying to login:
You will be redirected to the OAuth provider for authorization. An error occurred during login with an OAuth provider. Please contact the administrator or XWiki support. Trouble at fetchIdentityDetails.

More details concerning the error from the logs:
Caused by: java.lang.NullPointerException: null at com.xwiki.azureoauth.AzureADIdentityOAuthProvider$MSADIdentityDescription.<init>(AzureADIdentityOAuthProvider.java:433) at com.xwiki.azureoauth.AzureADIdentityOAuthProvider$MSADIdentityDescription.<init>(AzureADIdentityOAuthProvider.java:423) at com.xwiki.azureoauth.AzureADIdentityOAuthProvider.fetchIdentityDetails(AzureADIdentityOAuthProvider.java:330) ... 217 common frames omitted

@oanat
Copy link
Author

oanat commented Oct 6, 2021

@polx polx added this to the 1.2 milestone Oct 8, 2021
@polx
Copy link
Contributor

polx commented Oct 8, 2021

1.2-M1 has been released to address this bug.
It only contains translations simplifications otherwise.
Could you try it please?
Here is the suffix of the URL to request it:
/xwiki/bin/admin/XWiki/XWikiPreferences?section=XWiki.Extensions&extensionId=com.xwiki.integration-azure-oauth%3Aintegration-azure-oauth-ui&extensionVersion=1.2-M1

@polx polx changed the title Some Azure users get an error upon login Azure users with empty names get an error upon login Oct 19, 2021
@polx polx self-assigned this Oct 19, 2021
@polx
Copy link
Contributor

polx commented Oct 19, 2021

Considered fixed in 1.2

@polx polx closed this as completed Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants