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 enable/disable them to include only what you need and also that you can change the built-in plugins for your own implementation if there is a need to customize how things work.
Plugins are defined in the play.plugins file under the conf directory. If you don't have that file yet create one and add:
[example list of plugins]
Only the authentication providers you include in the play.plugins file will appear on the login page.
(Emphasis added.)
I am now trying out the Java Demo included in the SecureSocial repository. The play.plugins
file contains only a single row:
1500:com.typesafe.plugin.CommonsMailerPlugin
But if I run the demo, all the providers are available:
How do I turn off some providers? Based on the documentation I'd expect to comment out some lines in play.plugins
, but there are none to comment out.
What is going on here?
MyEnvironment
I overrodeproviders
, left only those that I want and it works! If you update your answer to spell out the procedure I will accept it. – Outvote