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 localhost:9000/auth/login.
I would like to just use localhost:9000/login, localhost:9000/logout and so on
Is it possible to custom style the login page for the different social providers? I would like to have custom look and feel and also custom messages.
you can mount the routes to / instead of /auth
* / module:securesocial
You can also define your own routes for the securesocial contollers, remove the module:securesocial line and copy the securesocial routes file contents into your own routes file with different mount points.
For the login page it can be customized by copying it from the securesocial module source (app/views) to app/views/securesocial/SecureSocial/ folder in your own project
Do not forget to check for changes when you switch to a new securesocial version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With