Privacy-friendly alternative to Login with Facebook

SimpleLogin is built for privacy-conscious site owners and protects your users identity. Open-source, Developer-first, SimpleLogin can be integrated in minutes.

Get Started Read our Docs
SimpleLogin dashboard

Identity provider that respects your users privacy.

It's time to ditch Login with Facebook.

Easy integration

Painless setup. Default config to facilite our life (e.g. localhost is whitelisted by default 🥳). Start now and launch in the next hour.

100% open-source

Built upon open-source technology, all SimpleLogin components are also open-source.

No tracking

Using SimpleLogin shows that you care about your users privacy.

Follow the standard

SimpleLogin implements OAuth2/OpenID Connect, the industry standard for login solution and is fully compatible with any OAuth2/OpenID Connect library.


<button onclick="simpleLogin()">
    Login with SimpleLogin
</button>

<!-- Include SimpleLogin JS SDK -->
<script src="https://simplelogin.io/sdk/sdk.js"></script>
                    

SL.init("quickstart"); // Your SimpleLogin AppID

function simpleLogin() {
    SL.login(function(user){
        // This is where you log user in :)
        console.log("SimpleLogin user", user);
    });
}
                    

import requests_oauthlib, os

# Your SimpleLogin AppID, AppSecret
CLIENT_ID = os.environ.get("CLIENT_ID")
CLIENT_SECRET = os.environ.get("CLIENT_SECRET")

@app.route("/login")
def login():
    sl = requests_oauthlib.OAuth2Session(
        CLIENT_ID,
        redirect_uri="http://localhost:5000/callback"
    )
    redirect_url, _ = sl.authorization_url(
        "https://app.simplelogin.io/oauth2/authorize"
    )

    return flask.redirect(redirect_url)


@app.route("/callback")
def callback():
    sl = requests_oauthlib.OAuth2Session(CLIENT_ID)
    sl.fetch_token(
        "https://app.simplelogin.io/oauth2/token",
        client_secret=CLIENT_SECRET,
        authorization_response=flask.request.url
    )

    user_info = sl.get("https://app.simplelogin.io/oauth2/userinfo").json()
    print(user_info["email"], user_info["name"], user_info["avatar_url"])
    return "Welcome " + user_info["name"]
                    

# Based on social-auth-app-django library
pip install git+ssh://git@github.com/simple-login/social-core.git@sl
                    

# settings.py
AUTHENTICATION_BACKENDS = [
    'social_core.backends.simplelogin.SimpleLoginOAuth2',
    'django.contrib.auth.backends.ModelBackend',
]

SOCIAL_AUTH_SIMPLELOGIN_KEY = 'YOUR_APP_ID'
SOCIAL_AUTH_SIMPLELOGIN_SECRET = 'YOUR_APP_SECRET'

                    

<!-- In your login template -->
<a href="{% url 'social:begin' 'simplelogin' %}">Login with SimpleLogin</a>
                    

                            // config SimpleLogin OIDC
passport.use('SimpleLogin', new OidcStrategy({
    issuer: 'https://app.simplelogin.io',
    authorizationURL: 'https://app.simplelogin.io/oauth2/authorize',
    tokenURL: 'https://app.simplelogin.io/oauth2/token',
    userInfoURL: 'https://app.simplelogin.io/oauth2/userinfo',
    clientID: process.env.CLIENT_ID, // SimpleLogin AppId
    clientSecret: process.env.CLIENT_SECRET, // SimpleLogin AppSecret
    callbackURL: process.env.URL + '/authorization-code/callback',
    scope: 'openid profile'
}, (issuer, sub, profile, accessToken, refreshToken, done) => {
    return done(null, profile);
}));

// show user info
app.use('/profile', (req, res) => {
    console.log("user:", req);
    res.render('profile', {
        title: 'User Info',
        user: req.user._json
    });
});
                    
Coming soon...
Coming soon...

Created by developer for developer

SimpleLogin is compatible with all Oauth2/OpenID Connect libraries.

Check Icon
Python (Flask)
Check Icon
Python (Django)
Check Icon
NodeJS (Passport.js)
Check Icon
Client-side javascript
Check Icon
ReactJS, VueJS Coming soon

As a software engineer, I like SimpleLogin concept and its streamlined development experience.
There are some solutions with a similar purpose, but none of them is transparent for users. Or simple enough for developers to integrate.
Finally, a service that makes people conscious about PRIVACY. And helps developers bring trust to their brand identity in a SIMPLE way.

Trung NGUYEN

Software Engineer, Docker

Frequently asked questions

¿Sabía que Facebook y Google usan estos botones para rastrear su historial de navegación para proporcionarle más anuncios personalizados?

Como SimpleLogin no se basa en publicidad y ofrece a los usuarios control total sobre sus datos, no tenemos ningún incentivo para usar sus datos de usuario.

Todo el código de SimpleLogin es completamente de código abierto en GitHub

Cualquiera puede auditar libremente el código o configurar su propio servidor de SimpleLogin.

Los ingresos de SimpleLogin se basan en un modelo transparente y sostenible que nos permite tener un producto sin rastreadores y que favorece la privacidad.

¡Si, absolutamente! Comenzamos con la plataforma web simplemente porque también se pueden usar para aplicaciones móviles a través de Android WebView o IOS UIWebView.

Planeamos proporcionar un SDK y algunos ejemplos para Android, iOS y Windows muy pronto. ¡Manténganse al tanto!