playframework - Disable or Bypass Session and Authentication in Play Silhouette framework -


currently application secured using silhouette, don't use of fancy social authentication features. simple username/password problem:

  • i need open end points external web app, allow web app ajax call play app. dev , specific use case.

how can achieve ? allowing play app act open web service?

after posting question on mohiva gitter channel got following answer, sharing here of benefit of future users:

answer christian kaps (@akkie):

for version 4 create own bypassauthenticator similar dummyauthenticator. need identityservice implementation returns dummy identity hard-coded logininfo returned bypassauthenticator. can configured environment. problem cannot disable authentication mechanism, because code may rely on identity securedactiontransports in request.


Comments