Questions tagged [securesocial]

An authentication module for Play Framework applications supporting OAuth, OAuth2, OpenID, Username/Password and custom authentication schemes.

208 questions
4
votes
0 answers

How to avoid re-login using securesocial on play framework 2?

I am using "SecureSocial" for authentication in my project. I have an issue which have been halfly answered on stack overflow, Whenever I refresh my project (because of a file change,etc), I have to re-login. Below are the related…
Hossein
  • 40,161
  • 57
  • 141
  • 175
4
votes
2 answers

Unit testing controllers in Play framework with SecureSocial

I am trying to invent some kind of mocking SecureSocial action generators, or SecureSocial itself to be able to unit-test controller methods. I've found some approaches, like Unit-testing methods secured with Securesocial annotation and Testing a…
Mike G.
  • 700
  • 5
  • 22
4
votes
1 answer

Unresolved dependency when trying to install SecureSocial in Play

First steps with Scala and with Play. I'm trying to install the SecureSocial plugin, but I can't. I'm interested in the resolution itself, and anything (answer or resources) than can improve my knowledge of the tools. In the Scala webpage…
Jacob
  • 1,886
  • 2
  • 25
  • 40
4
votes
3 answers

Showing loggedin User info in the header of my web app every time

I am working on play 2.1 with secure social integration. As of now, I was able to integrate securesocial with mongod db using SALAT. Now I am able to login/logout. But now what i want is if the user has logged in , then I need to show user info…
Giri
  • 235
  • 4
  • 14
4
votes
1 answer

Page not loaded in chrome

I get this problem when I am trying to run a java project using play 2.1.0. with securesocial 2.0.12 " No data received Unable to load the webpage because the server sent no data. Here are some suggestions: Reload this webpage later. …
4
votes
1 answer

Play securesocial - developer environment and unit testing

We are using securesocial module for authentication in Play 2 application. I have two questions concerning this module. Firstly, is there an easy way to disable the authorization checking in out development environment, preferably w/o commenting all…
Andna
  • 6,539
  • 13
  • 71
  • 120
4
votes
1 answer

Anybody implemented deadbolt or any other authorisation mechanism with securesocial?

I'm browsing around the web to find some kind of tutorial but I'm having trouble finding it. I guess I could just use the twitter example provided with securesocial example: def onlyAdmin = SecuredAction(WithAuth("admin")) { implicit request => …
jakob
  • 5,979
  • 7
  • 64
  • 103
4
votes
3 answers

How to persist user registrations using Play 2.0 and SecureSocial

I am using Play 2.0.4 with SecureSocial. I would like to use a UsernamePasswordProvider to persist user registrations to a database. I am relatively new to Java and the Play Framework so I'm not really sure how to get this done. I got as far as…
Ryan Foster
  • 297
  • 1
  • 2
  • 10
3
votes
2 answers

Customizing SecureSocial module with play framework

This is a beginner question with regard to using the SecureSocial(version 0.2.3 module with play framework (1.2.4) Is it possible to have custom routes? When I use the module::secure in my routes file, I am being redirected to…
user35559
  • 1,018
  • 3
  • 11
  • 21
3
votes
1 answer

securesocial 3.0 doesn't work with play framework 2.3

1.When i upgrade my play framework from 2.2.6 to 2.3.8 and securesocial from 2.1.4 to 3.0-M3. I got the following error. How to fix it? [error] /Work/test.scala:81: not found: value SecuredAction [error] def findStats = SecuredAction { 2.The…
vaj oja
  • 1,151
  • 2
  • 16
  • 47
3
votes
2 answers

How do you run the SecureSocial demo?

I downloaded securesocial-master.zip from https://github.com/jaliss/securesocial/tree/master 1.After extracting, change directory cd C:\Users\ddd\play\securesocial-master 2.run activator C:\Users\ddd\play\securesocial-master\activator run The…
pitchblack408
  • 2,913
  • 4
  • 36
  • 54
3
votes
3 answers

Compile error on a Future[Option[BasicProfile]] method in play

i'm writing a play 2.3 application using secure social and reactivemongo library, with scala. Now i'm trying to implement the UserService[T] trait but i'm getting compile errors on the updatePasswordInfo method. This is the method: def…
3
votes
1 answer

Error on porting a play 2.2 application to 2.3.2 version (Scala)

I'm porting a Play 2.2 application to a Play 2.3 application (Scala). To do that i change te secure social version to the master-SNAPSHOT, that support Play 2.3. But encounter errors in my play console while compile. What's wrong? [error]…
alberto adami
  • 729
  • 1
  • 6
  • 25
3
votes
2 answers

Play build.scala to build.sbt isn't working for secureSocial plugin. I don't understand why?

I'm new in playFrameWork I'm trying to figure out how the build.sbt file works in play framework 2.2 i'm also trying to make the secureSocial plugin works In the sample app of the plugin secureSocial, there is a built.scala containing : import…
Ennakard
  • 116
  • 1
  • 2
  • 9
3
votes
1 answer

Additional fields for Registration signup in Securesocial

I am using with playframework and I find it's a pain. I need to add additional fields such as age, Gender, country etc while signup. Registration controller is a object and cannot be extended. Tried writing a new controller for Registration, but…
Giri
  • 235
  • 4
  • 14
1
2
3
13 14