gpt4 book ai didi

java - Play Framework 2.0 如何在 Java 中使用 OpenID?

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:22:11 27 4
gpt4 key购买 nike

如何在 Java 中使用 Play!2.0 OpenID?

我找到了一个 example ,但我收到此错误:

! @6af3een21 - Internal server error, for request [GET /login/verify] ->

play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[Errors$BAD_RESPONSE$: null]]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:82) [play_2.9.1.jar:2.0]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:63) [play_2.9.1.jar:2.0]
at akka.actor.Actor$class.apply(Actor.scala:290) [akka-actor.jar:2.0]
at play.core.ActionInvoker.apply(Invoker.scala:61) [play_2.9.1.jar:2.0]
at akka.actor.ActorCell.invoke(ActorCell.scala:617) [akka-actor.jar:2.0]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:179) [akka-actor.jar:2.0]
Caused by: play.api.libs.openid.Errors$BAD_RESPONSE$: null
at play.api.libs.openid.Errors$BAD_RESPONSE$.<clinit>(OpenIDError.scala) ~[play_2.9.1.jar:2.0]
at play.api.libs.openid.OpenID$$anonfun$verifiedId$7.apply(OpenID.scala:88) ~[play_2.9.1.jar:2.0]
at play.api.libs.openid.OpenID$$anonfun$verifiedId$7.apply(OpenID.scala:88) ~[play_2.9.1.jar:2.0]
at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:110) ~[scala-library.jar:na]
at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:110) ~[scala-library.jar:na]
at scala.util.control.Exception$Catch.apply(Exception.scala:88) ~[scala-library.jar:na]

documentation about OpenID in Java是不够的。

最佳答案

试试我的 sample https://gist.github.com/2889927

关于java - Play Framework 2.0 如何在 Java 中使用 OpenID?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10758769/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com