Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram v2 exception #41

Open
whiteshadow-gr opened this issue Mar 5, 2020 · 0 comments · Fixed by #46
Open

Instagram v2 exception #41

whiteshadow-gr opened this issue Mar 5, 2020 · 0 comments · Fixed by #46

Comments

@whiteshadow-gr
Copy link
Contributor

needs further testing. Occasionally receiving Bad signature from JCASigner once the flow from instagram finishes.

Caused by: com.mohiva.play.silhouette.api.exceptions.CryptoException: [Silhouette][JcaSigner] Bad signature at com.mohiva.play.silhouette.crypto.JcaSigner.$anonfun$extract$4(JcaSigner.scala:66) at scala.util.Success.$anonfun$map$1(Try.scala:251) at scala.util.Success.map(Try.scala:209) at scala.util.Try$WithFilter.map(Try.scala:137) at com.mohiva.play.silhouette.crypto.JcaSigner.$anonfun$extract$2(JcaSigner.scala:61) at scala.util.Success.flatMap(Try.scala:247) at scala.util.Try$WithFilter.flatMap(Try.scala:138) at com.mohiva.play.silhouette.crypto.JcaSigner.extract(JcaSigner.scala:60) at com.mohiva.play.silhouette.impl.providers.DefaultSocialStateHandler.unserialize(SocialStateProvider.scala:282) at com.mohiva.play.silhouette.impl.providers.OAuth2Provider.$anonfun$authenticate$2(OAuth2Provider.scala:121) at com.mohiva.play.silhouette.impl.providers.OAuth2Provider.handleFlow(OAuth2Provider.scala:187) at com.mohiva.play.silhouette.impl.providers.OAuth2Provider.handleFlow$(OAuth2Provider.scala:176) at com.hubofallthings.dataplugInstagram.apiInterfaces.authProviders.InstagramProvider.handleFlow(InstagramProvider.scala:106) at com.mohiva.play.silhouette.impl.providers.OAuth2Provider.authenticate(OAuth2Provider.scala:120) at com.mohiva.play.silhouette.impl.providers.OAuth2Provider.authenticate$(OAuth2Provider.scala:119) at com.hubofallthings.dataplugInstagram.apiInterfaces.authProviders.InstagramProvider.authenticate(InstagramProvider.scala:106) at com.hubofallthings.dataplug.controllers.SocialAuthController.$anonfun$authenticate$1(SocialAuthController.scala:52) at com.mohiva.play.silhouette.api.actions.SecuredActionBuilder.$anonfun$invokeBlock$8(SecuredAction.scala:216) at com.mohiva.play.silhouette.api.actions.SecuredRequestHandlerBuilder.$anonfun$invokeBlock$2(SecuredAction.scala:93) at com.mohiva.play.silhouette.api.RequestHandlerBuilder.handleInitializedAuthenticator(RequestHandler.scala:169) at com.mohiva.play.silhouette.api.RequestHandlerBuilder.handleBlock(RequestHandler.scala:119) at com.mohiva.play.silhouette.api.RequestHandlerBuilder.handleBlock$(RequestHandler.scala:117) at com.mohiva.play.silhouette.api.actions.SecuredRequestHandlerBuilder.handleBlock(SecuredAction.scala:52) at com.mohiva.play.silhouette.api.actions.SecuredRequestHandlerBuilder.$anonfun$invokeBlock$1(SecuredAction.scala:93) at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:304) at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60) at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:140) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1021) at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1046) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

@whiteshadow-gr whiteshadow-gr linked a pull request Apr 14, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant