You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.
An exception or error caused a run to abort: play.api.libs.json.JsArray.(Lscala/collection/Seq;)V
java.lang.NoSuchMethodError: play.api.libs.json.JsArray.(Lscala/collection/Seq;)V
at io.igl.jwt.Aud.(Claims.scala:41)
at io.igl.jwt.Aud$.apply(Claims.scala:47)
....
Hello i have used your library and i am trying to pass a Seq[String] to the aud claim but the above error appears, i have tried with play json 2.6.0.
def createTokenWithRole(userName: String, role: Seq[String]): String = { val jwt = new DecodedJwt(Seq(Alg(Algorithm.HS256), Typ("JWT")), Seq(Iss(userName), Aud(role))) jwt.encodedAndSigned(secretKey) }
using scala 2.12.3
with dependencyOverrides ++= Set("com.typesafe.play" %% "play-json" % "2.6.7")
in my sbt file it works
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
An exception or error caused a run to abort: play.api.libs.json.JsArray.(Lscala/collection/Seq;)V
java.lang.NoSuchMethodError: play.api.libs.json.JsArray.(Lscala/collection/Seq;)V
at io.igl.jwt.Aud.(Claims.scala:41)
at io.igl.jwt.Aud$.apply(Claims.scala:47)
....
Hello i have used your library and i am trying to pass a Seq[String] to the aud claim but the above error appears, i have tried with play json 2.6.0.
def createTokenWithRole(userName: String, role: Seq[String]): String = { val jwt = new DecodedJwt(Seq(Alg(Algorithm.HS256), Typ("JWT")), Seq(Iss(userName), Aud(role))) jwt.encodedAndSigned(secretKey) }
using scala 2.12.3
with dependencyOverrides ++= Set("com.typesafe.play" %% "play-json" % "2.6.7")
in my sbt file it works
The text was updated successfully, but these errors were encountered: