jaliss / securesocial

A module that provides OAuth, OAuth2 and OpenID authentication for Play Framework applications
http://www.securesocial.ws
Apache License 2.0
1.19k stars 511 forks source link

Support HTTP Basic Auth #595

Closed grillorafael closed 6 years ago

grillorafael commented 8 years ago

Is there any way to add support to this? I'm trying to fit an HTTP Basic Auth with securesocial check but It looks like is not very easy to fit this.

Any idea on how to do it ?

jaliss commented 6 years ago

There's no built in support. You could try adding a new AuthenticatorBuilder that takes the credentials from the request and creates a valid authenticator instance if they are correct.