Questions tagged [securesocial]

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

208 questions
13
votes
2 answers

Play framework - java.lang.RuntimeException: No main class detected

I am new to play framework and trying to run securesocial as in https://github.com/jaliss/securesocial Using Play 2.3, Scala 2.10.0 .sbt file is configured as name := "SecureSocial-parent" version := Common.version scalaVersion :=…
ad-inf
  • 1,520
  • 4
  • 30
  • 53
12
votes
1 answer

Play2-Auth vs SecureSocial vs Deadbolt2

I am using Play2 with scala. I am new in Play2 and scala. I need authentication and authorization in a project. So which is the best for me from following? And why? Play2-Auth SecureSocial Deadbolt2 Is any one like a Spring security? I need…
8
votes
1 answer

Play-slick with SecureSocial: Running DB IO in a separate thread pool

I have a Play 2.2.1 app that uses play-slick 0.5.0.8 to persist data to a Postgresql backend and SecureSocial 2.1.2 to handle user authorisation. Since play-slick transactions are blocking, I have created a separate slick-context execution context…
dbau
  • 16,009
  • 2
  • 21
  • 31
6
votes
1 answer

Upgraded to SecureSocial 2.0.12 and now sessions are not being persisted

I was using SecureSocial 2.0.7, and I’d implemented a UserServicePlugin, and users could log in. I could stop and restart the server (or recompile or whatever), and users would remain logged in. Since upgrading to 2.0.12, the login session is not…
andrewf
  • 1,350
  • 1
  • 13
  • 19
5
votes
1 answer

Getting logged out of securesocial on compile and on clustered servers

I have a quick question about the authentication mechanism itself. How does securesocial manages the login cookie? I have a little problem when I change code in my system and I have been logged in before the code change then I will be logged out and…
TeeJaay
  • 136
  • 8
5
votes
0 answers

Play Scala 2.3.x - SecureSocial or Sihouette Integration to Deadbolt

I'm trying to use Deadbolt for authorization and Silhouette or SecureSocial for authentication using Play 2.3.3 and Scala 2.11.1. MyDeadboltHandler has a getSubject to override and to do that I need to retrieve the user from the request. Using…
centr
  • 645
  • 7
  • 15
5
votes
2 answers

How to disable a provider in SecureSocial?

I am using Play Framework 2.3.2 with Activator 1.2.3 and am experimenting with SecureSocial plugin master-SNAPSHOT. Documentation says the following: SecureSocial is designed in a modular architecture using plugins. This means you can easily…
vektor
  • 3,312
  • 8
  • 41
  • 71
5
votes
0 answers

Login/Logout issue with Play Framework?

After user Logout, if user click on browser back button then user get Login page without enter his credentials. Please suggest me how to overcome this problem. I am using Securesocial module. I am trying in so many ways: Set headres on…
Venkaiah Yepuri
  • 1,561
  • 3
  • 18
  • 29
5
votes
1 answer

How to use SecureSocial in a Single-Page-Application

I'm converting my Play 2 application to a SPA and I'm trying to figure out how to still use SecureSocial for authentication. I'm removing all the HTML templates (except the ones used by SecureSocial to send emails) and modifying my controllers to…
j3d
  • 9,492
  • 22
  • 88
  • 172
5
votes
1 answer

Custom views in SecureSocial in Java

I saw a few questions about this topic, but none answer the part I am stuck on. By the way, based on the issues people are running into, I might suggest giving a default java implementation of the TemplatesPlugin after all. The problem I have, is…
5
votes
3 answers

How to keep SecureSocial users logged in?

I have a Play 2.0.4 web app that uses SecureSocial to allow users to log in through third-party providers like twitter, facebook, and gmail. At that point, I am not using my own UsernamePasswordProvider; maybe I'll add it later. I need my users to…
AlexR
  • 240
  • 1
  • 11
5
votes
1 answer

Using securesocial services without using its views

I started integrating SecureSocial in my play/scala app, but I don't really like all the redirects it does between it's different views. example - try to login from it's default login page and if you put in a wrong pass you will be redirected to a…
samz
  • 1,592
  • 3
  • 21
  • 37
5
votes
2 answers

securesocial fake log in when developing

I am using securesocial it works fine but now every time I change some scala code I have to login again. Is there a possibility to fake a user in the session when in development mode, so I don't have to login so often? Thanks, Joris Wijlens
4
votes
2 answers

Play framework 2.4, Guice, and securesocial

I am attempting to follow a tutorial that I found at http://www.filtercode.com/play/play-scala-securesocial. But the tutorial was for Play 2.3. I am having issues because in play version 2.4 they removed getControllerInstance from…
pitchblack408
  • 2,913
  • 4
  • 36
  • 54
4
votes
2 answers

Expose Play Framework rest calls secured via securesocial to mobile app

I would like to expose my Play Framework REST calls to clients other than my play app. I would like a mobile app to call those secured rest calls. I asked a question on SO earlier in the year and got an answer but this only works for OAuth2 and I…
Shawn Vader
  • 12,285
  • 11
  • 52
  • 61
1
2 3
13 14