<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Configure new OpenID Provider - OAuth2 Login auth0.com in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/configure-new-openid-provider-oauth2-login-auth0-com/m-p/323750#M10751</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;Currently I'm working on a project that will be integrated with Nuxeo but I got an issue during the implementation in nuxeo of the SSO with auth0,&lt;/P&gt;
&lt;P&gt;then I kindly asking you, if It’s possible to configure a new OpenID Provider?&lt;/P&gt;
&lt;P&gt;Please have a look below the extension point, nuxeo.conf and the issue in the server.log.&lt;/P&gt;
&lt;P&gt;Nuxeo version: 9.2&lt;/P&gt;

&lt;P&gt;&amp;lt;component name=&lt;EM&gt;"eu.project.producer.mcssr.sso.sso"&lt;/EM&gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;REQUIRES&gt;org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry&lt;/REQUIRES&gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;extension target=&lt;EM&gt;"org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry"&lt;/EM&gt; point=&lt;EM&gt;"providers"&lt;/EM&gt;&amp;gt;&lt;/P&gt;
&lt;!--


You might find some help here:


[https://explorer.nuxeo.com/nuxeo/site/distribution/latest/viewExtensionPoint/org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry](https://explorer.nuxeo.com/nuxeo/site/distribution/latest/viewExtensionPoint/org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry) providers


--&gt;
&lt;PROVIDER&gt;
&lt;P&gt;&lt;NAME&gt;Auth0OpenIDConnect&lt;/NAME&gt;&lt;/P&gt;
&lt;P&gt;&lt;LABEL&gt;Auth0&lt;/LABEL&gt;&lt;/P&gt;
&lt;P&gt;&lt;DESCRIPTION&gt;Login using your Auth0 account&lt;/DESCRIPTION&gt;&lt;/P&gt;
&lt;P&gt;&lt;AUTHORIZATIONSERVERURL&gt;&lt;A href="https://gfilomena.eu.auth0.com/authorize%3c/authorizationServerURL"&gt;https://gfilomena.eu.auth0.com/authorize&lt;/A&gt;&amp;gt;&lt;/AUTHORIZATIONSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;TOKENSERVERURL&gt;&lt;A href="https://gfilomena.eu.auth0.com/oauth/token%3c/tokenServerURL"&gt;https://gfilomena.eu.auth0.com/oauth/token&lt;/A&gt;&amp;gt;&lt;/TOKENSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOURL&gt;&lt;A href="https://gfilomena.eu.auth0.com/userinfo%3c/userInfoURL"&gt;https://gfilomena.eu.auth0.com/userinfo&lt;/A&gt;&amp;gt;&lt;/USERINFOURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.DefaultOpenIDUserInfo&lt;/USERINFOCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERRESOLVERCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver&lt;/USERRESOLVERCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;SCOPE&gt;openid&lt;/SCOPE&gt;&lt;/P&gt;
&lt;P&gt;&lt;ICON&gt;/icons/google.png&lt;/ICON&gt;&lt;/P&gt;
&lt;/PROVIDER&gt;
&lt;PROVIDER&gt;
&lt;P&gt;&lt;NAME&gt;GoogleOpenIDConnect&lt;/NAME&gt;&lt;/P&gt;
&lt;P&gt;&lt;LABEL&gt;Google&lt;/LABEL&gt;&lt;/P&gt;
&lt;P&gt;&lt;DESCRIPTION&gt;Login using your Google account&lt;/DESCRIPTION&gt;&lt;/P&gt;
&lt;P&gt;&lt;AUTHORIZATIONSERVERURL&gt;&lt;A href="https://accounts.google.com/o/oauth2/auth%3c/authorizationServerURL"&gt;https://accounts.google.com/o/oauth2/auth&lt;/A&gt;&amp;gt;&lt;/AUTHORIZATIONSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;TOKENSERVERURL&gt;&lt;A href="https://accounts.google.com/o/oauth2/token%3c/tokenServerURL"&gt;https://accounts.google.com/o/oauth2/token&lt;/A&gt;&amp;gt;&lt;/TOKENSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOURL&gt;&lt;A href="https://www.googleapis.com/oauth2/v1/userinfo%3c/userInfoURL"&gt;https://www.googleapis.com/oauth2/v1/userinfo&lt;/A&gt;&amp;gt;&lt;/USERINFOURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.google.GoogleUserInfo&lt;/USERINFOCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERRESOLVERCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver&lt;/USERRESOLVERCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;SCOPE&gt;&lt;A href="https://www.googleapis.com/auth/userinfo.email%3c/scope"&gt;https://www.googleapis.com/auth/userinfo.email&lt;/A&gt;&amp;gt;&lt;/SCOPE&gt;&lt;/P&gt;
&lt;P&gt;&lt;ICON&gt;/icons/google.png&lt;/ICON&gt;&lt;/P&gt;
&lt;/PROVIDER&gt;


&lt;HR /&gt;
&lt;HR /&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;This is the configuration in the nuxeo.conf&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;nuxeo.templates=default,sql,sdk,s3binaries,openid,mcssr-package&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;### Google&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;nuxeo.openid.google.client.id= MYID&lt;/P&gt;
&lt;P&gt;nuxeo.openid.google.client.secret= MYSECRET&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# Auth0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;nuxeo.openid.auth0.client.id=MYID&lt;/P&gt;
&lt;P&gt;nuxeo.openid.auth0.client.secret= MYSECRET&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;This is the issue in the server.log&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2017-12-13 09:26:09,335 INFO [localhost-startStop-1] [org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistryImpl] OpenId provider for Auth0OpenIDConnect is disabled because clientId and/or clientSecret are empty (component id = service:eu.project.producer.mcssr.sso.sso)&lt;/P&gt;
&lt;P&gt;Could you suggest me a solution ?&lt;/P&gt;
&lt;P&gt;link:
&lt;A href="https://github.com/nuxeo/nuxeo/tree/8032735a06247583495e15f7a082bcf7cabdd2aa/nuxeo-services/login/nuxeo-platform-login-openid/src/main/java/org/nuxeo/ecm/platform/oauth2/openid/auth" target="test_blank"&gt;https://github.com/nuxeo/nuxeo/tree/8032735a06247583495e15f7a082bcf7cabdd2aa/nuxeo-services/login/nuxeo-platform-login-openid/src/main/java/org/nuxeo/ecm/platform/oauth2/openid/auth&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://doc.nuxeo.com/nxdoc/using-openid-oauth2-in-login-screen/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/using-openid-oauth2-in-login-screen/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 09:04:48 GMT</pubDate>
    <dc:creator>Giuseppe_Filome</dc:creator>
    <dc:date>2017-12-13T09:04:48Z</dc:date>
    <item>
      <title>Configure new OpenID Provider - OAuth2 Login auth0.com</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/configure-new-openid-provider-oauth2-login-auth0-com/m-p/323750#M10751</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;Currently I'm working on a project that will be integrated with Nuxeo but I got an issue during the implementation in nuxeo of the SSO with auth0,&lt;/P&gt;
&lt;P&gt;then I kindly asking you, if It’s possible to configure a new OpenID Provider?&lt;/P&gt;
&lt;P&gt;Please have a look below the extension point, nuxeo.conf and the issue in the server.log.&lt;/P&gt;
&lt;P&gt;Nuxeo version: 9.2&lt;/P&gt;

&lt;P&gt;&amp;lt;component name=&lt;EM&gt;"eu.project.producer.mcssr.sso.sso"&lt;/EM&gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;REQUIRES&gt;org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry&lt;/REQUIRES&gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;extension target=&lt;EM&gt;"org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry"&lt;/EM&gt; point=&lt;EM&gt;"providers"&lt;/EM&gt;&amp;gt;&lt;/P&gt;
&lt;!--


You might find some help here:


[https://explorer.nuxeo.com/nuxeo/site/distribution/latest/viewExtensionPoint/org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry](https://explorer.nuxeo.com/nuxeo/site/distribution/latest/viewExtensionPoint/org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry) providers


--&gt;
&lt;PROVIDER&gt;
&lt;P&gt;&lt;NAME&gt;Auth0OpenIDConnect&lt;/NAME&gt;&lt;/P&gt;
&lt;P&gt;&lt;LABEL&gt;Auth0&lt;/LABEL&gt;&lt;/P&gt;
&lt;P&gt;&lt;DESCRIPTION&gt;Login using your Auth0 account&lt;/DESCRIPTION&gt;&lt;/P&gt;
&lt;P&gt;&lt;AUTHORIZATIONSERVERURL&gt;&lt;A href="https://gfilomena.eu.auth0.com/authorize%3c/authorizationServerURL"&gt;https://gfilomena.eu.auth0.com/authorize&lt;/A&gt;&amp;gt;&lt;/AUTHORIZATIONSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;TOKENSERVERURL&gt;&lt;A href="https://gfilomena.eu.auth0.com/oauth/token%3c/tokenServerURL"&gt;https://gfilomena.eu.auth0.com/oauth/token&lt;/A&gt;&amp;gt;&lt;/TOKENSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOURL&gt;&lt;A href="https://gfilomena.eu.auth0.com/userinfo%3c/userInfoURL"&gt;https://gfilomena.eu.auth0.com/userinfo&lt;/A&gt;&amp;gt;&lt;/USERINFOURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.DefaultOpenIDUserInfo&lt;/USERINFOCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERRESOLVERCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver&lt;/USERRESOLVERCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;SCOPE&gt;openid&lt;/SCOPE&gt;&lt;/P&gt;
&lt;P&gt;&lt;ICON&gt;/icons/google.png&lt;/ICON&gt;&lt;/P&gt;
&lt;/PROVIDER&gt;
&lt;PROVIDER&gt;
&lt;P&gt;&lt;NAME&gt;GoogleOpenIDConnect&lt;/NAME&gt;&lt;/P&gt;
&lt;P&gt;&lt;LABEL&gt;Google&lt;/LABEL&gt;&lt;/P&gt;
&lt;P&gt;&lt;DESCRIPTION&gt;Login using your Google account&lt;/DESCRIPTION&gt;&lt;/P&gt;
&lt;P&gt;&lt;AUTHORIZATIONSERVERURL&gt;&lt;A href="https://accounts.google.com/o/oauth2/auth%3c/authorizationServerURL"&gt;https://accounts.google.com/o/oauth2/auth&lt;/A&gt;&amp;gt;&lt;/AUTHORIZATIONSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;TOKENSERVERURL&gt;&lt;A href="https://accounts.google.com/o/oauth2/token%3c/tokenServerURL"&gt;https://accounts.google.com/o/oauth2/token&lt;/A&gt;&amp;gt;&lt;/TOKENSERVERURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOURL&gt;&lt;A href="https://www.googleapis.com/oauth2/v1/userinfo%3c/userInfoURL"&gt;https://www.googleapis.com/oauth2/v1/userinfo&lt;/A&gt;&amp;gt;&lt;/USERINFOURL&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERINFOCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.google.GoogleUserInfo&lt;/USERINFOCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;USERRESOLVERCLASS&gt;org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver&lt;/USERRESOLVERCLASS&gt;&lt;/P&gt;
&lt;P&gt;&lt;SCOPE&gt;&lt;A href="https://www.googleapis.com/auth/userinfo.email%3c/scope"&gt;https://www.googleapis.com/auth/userinfo.email&lt;/A&gt;&amp;gt;&lt;/SCOPE&gt;&lt;/P&gt;
&lt;P&gt;&lt;ICON&gt;/icons/google.png&lt;/ICON&gt;&lt;/P&gt;
&lt;/PROVIDER&gt;


&lt;HR /&gt;
&lt;HR /&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;This is the configuration in the nuxeo.conf&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;nuxeo.templates=default,sql,sdk,s3binaries,openid,mcssr-package&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;### Google&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;nuxeo.openid.google.client.id= MYID&lt;/P&gt;
&lt;P&gt;nuxeo.openid.google.client.secret= MYSECRET&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# Auth0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;nuxeo.openid.auth0.client.id=MYID&lt;/P&gt;
&lt;P&gt;nuxeo.openid.auth0.client.secret= MYSECRET&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;This is the issue in the server.log&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2017-12-13 09:26:09,335 INFO [localhost-startStop-1] [org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistryImpl] OpenId provider for Auth0OpenIDConnect is disabled because clientId and/or clientSecret are empty (component id = service:eu.project.producer.mcssr.sso.sso)&lt;/P&gt;
&lt;P&gt;Could you suggest me a solution ?&lt;/P&gt;
&lt;P&gt;link:
&lt;A href="https://github.com/nuxeo/nuxeo/tree/8032735a06247583495e15f7a082bcf7cabdd2aa/nuxeo-services/login/nuxeo-platform-login-openid/src/main/java/org/nuxeo/ecm/platform/oauth2/openid/auth" target="test_blank"&gt;https://github.com/nuxeo/nuxeo/tree/8032735a06247583495e15f7a082bcf7cabdd2aa/nuxeo-services/login/nuxeo-platform-login-openid/src/main/java/org/nuxeo/ecm/platform/oauth2/openid/auth&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://doc.nuxeo.com/nxdoc/using-openid-oauth2-in-login-screen/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/using-openid-oauth2-in-login-screen/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 09:04:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/configure-new-openid-provider-oauth2-login-auth0-com/m-p/323750#M10751</guid>
      <dc:creator>Giuseppe_Filome</dc:creator>
      <dc:date>2017-12-13T09:04:48Z</dc:date>
    </item>
  </channel>
</rss>

