Error with Google Authorization: Execution exception[[AuthenticationException: null]]

46 views
Skip to first unread message

David Arias

unread,
Jun 21, 2015, 1:52:47 PM6/21/15
to secure...@googlegroups.com
Hi.

Thank you very much for the work with the plugin, it is very useful. I'm using securesocial with play! 2.3.x with "ws.securesocial" %% "securesocial" % "master-SNAPSHOT". Facebook login works great, but with google I keep getting this error:

! @6mgajmpca - Internal server error, for (POST) [/m/login/google] ->
play.api.Application$$anon$1: Execution exception[[AuthenticationException: null]]
 at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.11-2.3.7.jar:2.3.7]
 at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.11-2.3.7.jar:2.3.7]
 at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [com.typesafe.play.play_2.11-2.3.7.jar:2.3.7]
 at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [com.typesafe.play.play_2.11-2.3.7.jar:2.3.7]
 at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.11.2.jar:na]
Caused by: securesocial.core.AuthenticationException: null
 at securesocial.core.providers.GoogleProvider$$anonfun$fillProfile$1.applyOrElse(GoogleProvider.scala:73) ~[ws.securesocial.securesocial_2.11-master-SNAPSHOT.jar:master-SNAPSHOT]
 at securesocial.core.providers.GoogleProvider$$anonfun$fillProfile$1.applyOrElse(GoogleProvider.scala:69) ~[ws.securesocial.securesocial_2.11-master-SNAPSHOT.jar:master-SNAPSHOT]
 at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36) ~[org.scala-lang.scala-library-2.11.2.jar:na]
 at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:215) ~[org.scala-lang.scala-library-2.11.2.jar:na]
 at scala.util.Try$.apply(Try.scala:191) ~[org.scala-lang.scala-library-2.11.2.jar:na]

The google section on securesocial.conf, looks like:

google {
    clientId=your_client_id
    clientSecret=your_client_secret
  }

I've already enabled Google + API on Google Developer Console, as suggested here: https://github.com/jaliss/securesocial/issues/527, but it doesn't solve the problem. 

Anyone else is getting the same error ?. Do I have to configure something else on Google ?
Reply all
Reply to author
Forward
0 new messages