Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29178

Disabled OpenID Providers are still registered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Open Id
    • Tags:
    • Sprint:
      nxplatform 11.1.36, nxplatform 11.1.37
    • Story Points:
      0

      Description

      Since NXP-27446 (on master only), OpenID providers which are disabled by contribution are still registered in Nuxeo.

      This leads to a NullPointerException when trying to login:

      Caused by: java.lang.NullPointerException
      	at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
      	at com.google.api.client.util.Preconditions.checkNotNull(Preconditions.java:127)
      	at com.google.api.client.auth.oauth2.ClientParametersAuthentication.<init>(ClientParametersAuthentication.java:89)
      	at org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProvider.getAuthorizationCodeFlow(NuxeoOAuth2ServiceProvider.java:183)
      	at org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProvider.getAuthenticationUrl(OpenIDConnectProvider.java:160)
      	at org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProvider.computeUrl(OpenIDConnectProvider.java:263)
      	at org.nuxeo.ecm.platform.ui.web.auth.service.LoginProviderLink.getLink(LoginProviderLink.java:115)
      	at org.apache.jsp.login_jsp._jspService(login_jsp.java:792)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
      	... 50 more
      

      To reproduce the issue just install the Marketplace Package.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m