play 2.4 builds.
indykish opened this issue · comments
Hi i tested out play 2.4 RC3 with our code
https://github.com/megamsys/megam_gateway.git
As play-auth depends on 2.3, my cache
in play 2.4 gets evicted, hence my app fails to run saying "NoClass def found for CachePlugin"
Can you make a snapshot for 2.4 ?
Alright, I'll publish SNAPSHOT for 2.4-RC
@gakuzzzz Play 2.4 was released today. Can you make a snapshot or 0.13.3 ?
I published 0.14.0-SNAPSHOT that contains #133
However it fails tests.
Would you help me?
Yes.
A quick note play 2.4 only works with JDK 1.8
I see a Cache problem
in the travis ci. The api was changed in 2.4.
Thanks, I removed oraclejdk7 from travis settings.
Ok. I will fork and check it out later in the day (after 6 hrs) 👍 Good work @gakuzzzz
any update for play 2.4 support?
It is blocked by some Play2 issue
playframework/playframework#4488
playframework/playframework#4591
If you don't need to use CacheIdContainer, would you use 0.14.0-SNAPSHOT?
add Sonatype snapshot resolver and add dependency play2-auth 0.14.0-SNAPSHOT
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies += "jp.t2v" %% "play2-auth" % "0.14.0-SNAPSHOT"
FYI When I use 0.14.0-SNAPSHOT everything works fine in dev mode but in production (start) mode the login page just redirects back to login. Changing back to 0.13.2 appears to work fine for me with play 2.4. (I believe I am just following the basic usage from instructions and the stateless idContainer override)
Thanks for reporting.
It is a intended behavior. the TokenAccessor
default implementation is changed to more secure.
https://github.com/t2v/play2-auth/pull/133/files#diff-6f968b3524e16933f29a65ff5ece7471R53
In production, use SSL or override cookieSecureOption to false explicitly.
So what is the status on this? We are waiting on a play 2.4.1 release, no more changes needed on the play2 auth side?
I tried a few weeks ago with 2.4.0 and hit all the problems described above.. have not tried again, because the play changes are kind of a pain.
now we have a 2.4.1 and playframework/playframework#4488 is fixed, will it work now?
0.14.0 has released