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

Bu düğmelerin Facebook ve Google tarafından daha kişiselleştirilmiş reklamlar sunabilmek amacıyla kullanıcılarınızın gezinme geçmişini izlemek için kullanıldığını biliyor musunuz?

SimpleLogin reklamlarla desteklenmediğinden ve kullanıcılara verileri üzerinde tam denetim sağladığından, kullanıcı verilerinizi kullanmakla ilgilenmiyoruz.

SimpleLogin kodunun tümünü GitHub üzerinde açık kaynaklı olarak bulabilirsiniz.

İsteyen herkes kodu özgürce denetleyebilir veya kendi SimpleLogin sunucusunu kurabilir.

SimpleLogin gelirlerini, gizliliğe öncelik veren ve izlenmeyen bir ürün kullanmanızı sağlayan şeffaf ve sürdürülebilir bir model ile sağlar.

Evet kesinlikle! İnternet platformuyla başladık çünkü mobil uygulamalar için olduğu kadar Android WebView veya IOS UIWebView ile de kullanılabiliyorlar.

Çok yakında Android, iOS ve Windows için bir SDK ve bazı örnekler sunmayı planlıyoruz. Bizi izleyin!