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

The login button is not displayed #5

Closed
oanat opened this issue Oct 4, 2021 · 4 comments
Closed

The login button is not displayed #5

oanat opened this issue Oct 4, 2021 · 4 comments
Assignees
Labels
Type: Bug Something isn't working
Milestone

Comments

@oanat
Copy link

oanat commented Oct 4, 2021

On a wiki using XWiki 12.10.6 and Microsoft Azure Active Directory Single-Sign-On (SSO) (pro) API v1.1 we noticed the login button is not displayed.
We have tried a wiki restart, reinstalling the application, nothing worked except executing the following snippet to reload the configuration:
{{groovy}} def manager = services.component.getInstance(com.xwiki.identityoauth.IdentityOAuthManager.class) manager.reloadConfig() println manager.lifeCycleState println "{{{$manager.providersLoginCodes}}}" {{/groovy}}

@polx
Copy link
Contributor

polx commented Oct 5, 2021

What did the snippet have as effect?? Did this solve the issue??

@oanat
Copy link
Author

oanat commented Oct 5, 2021

@polx The snippet made the button appear again.

@polx
Copy link
Contributor

polx commented Oct 15, 2021

That snippet has the same effect as saving the configuration or loading the config after a start of the wiki.
Can you confirm this?

@polx polx self-assigned this Oct 22, 2021
@polx
Copy link
Contributor

polx commented Oct 22, 2021

Saving the configuration has the effect of "restarting" the configuration loading, including license loading. One of these things, in some situations we could observe (on a Debian distribution), fails on startup but works after startup. In one of the situations we observed, circumventing the license check made it work.

@polx polx added the Type: Bug Something isn't working label Oct 22, 2021
polx added a commit that referenced this issue Oct 26, 2021
… reinstall on farm bug, and (worst) #2: Failed to instantiate AzureADIdentityOAuthProvider.
@mflorea mflorea added this to the 1.4 milestone Oct 29, 2021
@mflorea mflorea closed this as completed Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants