-
Notifications
You must be signed in to change notification settings - Fork 366
"Remember Me" functionality #363
base: master
Are you sure you want to change the base?
Conversation
…· 8ee8705 …com/smola/play-authenticate/commit/da6a38be1c6d1b40061b41c532b1404c142cd3ed up to the point it makes sense
We missed to add the messages in all languages :) |
The checks seem to be broken on the smaller example. I fixed it. |
This looks like travis is getting an old PA artifact from a repo other than local ... ? |
Hi @joscha can you please take a look at the CI? looks like it is picking an old PA artifact |
@bravegag looking great. A few things:
|
Hi @joscha, thanks! we will do 1) and 3) as you ask.
|
Hi @joscha Can you please help us (@alexeysavenkov and I) push this through, as soon as that's done we are gonna work on the 2 Step Auth with Google Authenticator integration bit. Without 1) and possibly 2) the "Remember Me" functionality won't work. I think it doesn't make sense to overload the methods as you suggest and by doing so then either enjoy the feature "Remember Me" or not. I believe this is error prone and confusing. If we want new functionality inevitably we might end up not being backward compatible, having release notes and migration guides ... "Remember Me" requires passing the context around and not session. If you have suggestions we can check but as I see it this is the only way. @alexeysavenkov can you please also comment? |
Hi @joscha,
|
Context was different in Java and Scala in the past, hence why there was no easy way of using it. I am not saying we can't use Context, however I think backwards compatibility is not optional unless we also want to open the pandora's box of migration, etc. Ideally we could find a way to add this new feature whilst not breaking all custom providers out there at the same time. |
@joscha |
@joscha I'm migrating my fork to 0.9.0 ... can we not merge away this PR? |
@josha The PR fork master branch is now at the same level as 0.9.1-SNAPSHOT. |
Hi @joscha, I do not find those changes in 0.9.1-SNAPSHOT. Can you please let me know in which branch it is available? I am trying to run the app available at https://github.com/bravegag/play-authenticate-usage-scala and it fails with message "value isAuthorizedWithCookie is not a member of com.feth.play.module.pa.PlayAuthenticate" |
This PR corresponds to the comments under issues #360. We have tested all the functionality in the play-authenticate-usage example.