Hello everyone,
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,
then I kindly asking you, if It’s possible to configure a new OpenID Provider?
Please have a look below the extension point, nuxeo.conf and the issue in the server.log.
Nuxeo version: 9.2
<component name="eu.project.producer.mcssr.sso.sso">
org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry
<extension target="org.nuxeo.ecm.platform.oauth2.openid.OpenIDConnectProviderRegistry" point="providers">
Auth0OpenIDConnect
Login using your Auth0 account
https://gfilomena.eu.auth0.com/authorize>
https://gfilomena.eu.auth0.com/oauth/token>
https://gfilomena.eu.auth0.com/userinfo>
org.nuxeo.ecm.platform.oauth2.openid.auth.DefaultOpenIDUserInfo
org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver
openid
/icons/google.png
GoogleOpenIDConnect
Login using your Google account
https://accounts.google.com/o/oauth2/auth>
https://accounts.google.com/o/oauth2/token>
https://www.googleapis.com/oauth2/v1/userinfo>
org.nuxeo.ecm.platform.oauth2.openid.auth.google.GoogleUserInfo
org.nuxeo.ecm.platform.oauth2.openid.auth.EmailBasedUserResolver
https://www.googleapis.com/auth/userinfo.email>
/icons/google.png
This is the configuration in the nuxeo.conf
nuxeo.templates=default,sql,sdk,s3binaries,openid,mcssr-package
### Google
nuxeo.openid.google.client.id= MYID
nuxeo.openid.google.client.secret= MYSECRET
# Auth0
nuxeo.openid.auth0.client.id=MYID
nuxeo.openid.auth0.client.secret= MYSECRET
This is the issue in the server.log
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)
Could you suggest me a solution ?
link:
https://github.com/nuxeo/nuxeo/tree/8032735a06247583495e15f7a082bcf7cabdd2aa/nuxeo-services/login/nuxeo-platform-login-openid/src/main/java/org/nuxeo/ecm/platform/oauth2/openid/auth
https://doc.nuxeo.com/nxdoc/using-openid-oauth2-in-login-screen/
Thanks a lot.
Giuseppe