An authentication module for Play Framework applications supporting OAuth, OAuth2, OpenID, Username/Password and custom authentication schemes.
Questions tagged [securesocial]
208 questions
0
votes
1 answer
SecureSocial login after signup
I'm using Play Framework 2.1 with SecureSocial.
I have my own templates, UserService, and UsernamePasswordProvider/FacebookProvider.
I dont use SecureSocial to register my users, but I use it to login and handle sessions.
How can I make people be…

Julien D
- 1,259
- 9
- 22
0
votes
1 answer
How can I directly test the methods of MyUserService for securesocial plugin for Play Framework
I'm wondering how I can test my implemented UserService (MyUserService) methods directly. I've imported MyUserService but it doesn't seem to recognize it.
The error is:
not found: value MyUserService
Thanks for any help you can give. Here's my…

danielbh
- 197
- 1
- 1
- 13
0
votes
1 answer
Is there some way to get path parameters in @SecureSocial.SecuredAction authorization implementation?
I'm new to playframework and trying to use securesocial for authentication & authorization in my web app.
I need to add custom authorization to my controller, that checks if current user is creator of entity, that he is trying to view or…

kabochkov
- 1,026
- 9
- 12
0
votes
1 answer
Mysql dependencies in securesocial
I am trying to use mysql 5.5.27 database into securesocial sbt-version 0.12.2 with play 2.1.0. What changes should I include into the variable appdependencies in Build.scala to include the mysql?

user2462505
- 69
- 3
0
votes
1 answer
Getting an error when trying to secure controller method with securesocial
When trying to implement a SecuredAction like this:
def index = SecuredAction {
Ok(views.html.index())
}
I'm getting a
Overloaded method value [SecuredAction] cannot be applied to (play.api.mvc.SimpleResult[play.api.templates.Html])

jakob
- 5,979
- 7
- 64
- 103
0
votes
1 answer
playframework PLAY_SESSION remembers URL from page before logout
I 've got implemented SecureSocial module and providing login via that. For different users i ve got mapped different roles and redirect after login is checked in main controller Application.
public class Application extends Controller {
/**
…

Szalai Ladislav
- 161
- 1
- 1
- 7
0
votes
1 answer
Handling POST - BadRequest - GET cycle
I have a form which sends a POST request to controller (post url = myForm/save ), now if validation fails I send a badRequest() from controller to client.
The pages renders correctly showing the validation error and filled form. (However URL…

Aditya Jain
- 1,077
- 1
- 12
- 25
0
votes
1 answer
Form Casting in Play Framework 2.0.4 with securesocial
Is there a way to cast play.api.data.Form to play.api.data.Form in Play Framework?
I'm using secure social for play 2.0.4 and I'm having these errors when I compile custom templates.
[error]…

Mario López
- 81
- 1
- 1
- 4
0
votes
1 answer
Warning in Play 2.0.4
When I compile my application with securesocial plugin it gives me this warning:
[info] Compiling 21 Scala sources and 8 Java sources to /home/mario/tegik-play/target/scala-2.9.1/classes...
[warn]…

Mario López
- 81
- 1
- 1
- 4
0
votes
1 answer
SecureSocial : fillProfile fails during Facebook authentication
I'm using Play! 2.0.4 with SecureSocial to handle Facebook connect.
With an account that was successfully connecting some days ago, Facebook answers the server with an error, which is thrown here…

Julien D
- 1,259
- 9
- 22
0
votes
1 answer
Play SecureSocial customization
I just downloaded the SecureSocial plugin and installed it.
I have a webapp build using Play framework 2.1 in Java.
Now I don't how how to customize this module.
If I click on register I have a page asking me for the email and then I get to another…

itsme
- 35
- 1
- 8
0
votes
2 answers
play framework - securesocial userpass implementation
I'm using Play 2.1 and securesocial master snapshot.
I've implemented find & save of UserService (extends UserServicePlugin) as follows:
Find method as below:
def find(userId: UserId): Option[Identity] = {
val user = User.findByUserId(userId);
…

user237865
- 1,250
- 4
- 19
- 41
0
votes
1 answer
SecureSocial configuration issue with Play 2.1
I want to support only facebook, twitter and google in my appliaction, so I've deleted other providers from securesocial.conf. My applications doesn't start right now, I'm getting following error:
Cannot load plugin
An exception occurred during…

Lukasz R.
- 2,265
- 1
- 24
- 22
0
votes
1 answer
Securesocial, Issues calling linkedin request after authentication
I'm trying to use securesocial to authenticate to Linkedin over OAuth1 and get list of connections of the connected user.
The authentication works fine, but calling any request after the user is connected, will return 401 response.
I'm maybe doing…

nadouani
- 115
- 1
- 3
- 8
0
votes
1 answer
Play Forms: Mapping the request.user from a Secured Action?
I'd like to be able to get at the user when I'm mapping a request to an object using Play Forms. To make things more fiddly, I'm also using the SecureSocial framework, so request.user is a securesocial.core.SocialUser.
The code below is problematic…

Chris Beach
- 4,302
- 2
- 31
- 50