WSO2 - Identity Server 6.1.0 - Sign in with google

77 Views Asked by At

I enabled the sign in with google on the identity server 6.1.0 as described in the documentation. When i sign in from my web application, once the google consent page is displayed and i should be redirected to my main app, i get an error saying that the gmail is not a valid tenant:

ERROR {org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator} - Exception in Authentication Framework org.wso2.carbon.identity.base.IdentityRuntimeException: Invalid tenant domain gmail.com
        at org.wso2.carbon.identity.base.IdentityRuntimeException.error(IdentityRuntimeException.java:55)
        at org.wso2.carbon.identity.core.util.IdentityTenantUtil.getTenantId(IdentityTenantUtil.java:274)

am i supposed to change anything in the front end app? or is something missing on IS level?

What i did as configuration is:

  • creating identity provider with google secret keys
  • enable it on service provider level

enter image description here

enter image description here

0

There are 0 best solutions below