Comments (4)
Hi Jan,
Annotating the SecureSocial and UsernamePasswordController with a let's say @with(ForceSSL.class) controller that has a @before to redirect when needed sounds good to me.
I don't think your approach is wrong.
Jorge
from securesocial.
Hi Jorge,
thanks for your reply. I guess the interceptor is in fact the way to go.
But how would one actually do it in an elegant way? I'd like to avoid manipulating the original SecureSocial controllers for my project, which would be the easiest way, indeed. On the other hand, I cannot simply create a new controller with my ForceSSL
mixin and then delegate to the SecureSocial controllers (or at least I did not find a way that worked). So I'd have to duplicate SecureSocial's code in my controller...
Do you have any idea?
Greets,
Jan.
from securesocial.
Hi @jtammen, what did you do with this?
from securesocial.
@jaliss was there any progress to this for the Play v1.2.x stream?
from securesocial.
Related Issues (20)
- Build breaks after new release. HOT 3
- Security: password reset email host injection HOT 2
- v3.0-M7 play2.5 HOT 4
- Facebook oauth token format change causes error (suspected) HOT 3
- Getting weird issue with email sending
- Inconsistent error from Facebook Sign-in
- Ready-made Backend
- compatible HOT 2
- Control the number of rest API calls with securesocial HOT 1
- Support Play 2.6 HOT 2
- scala 2.12 HOT 1
- After hitting the /logout api, Session is not getting cleared it is only redirecting to login_page. And i am able to login again with the same token id HOT 1
- Add cookie SameSite HOT 1
- Can't use with Scala 2.12 HOT 4
- Ambiguous implicit values HOT 1
- Action Not Found For request 'GET /authenticate/github? HOT 1
- Documentation has not been update for play 2.6
- push secure social jar with support for play 2.6 to maven
- NoSuchFieldError: state (facebook provider error) HOT 1
- Looking for a maintainer?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from securesocial.