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

Tahukah Anda bahwa Facebook dan Google menggunakan tombol login ini untuk melacak riwayat penjelajahan Anda, sehingga mereka dapat menyajikan iklan yang lebih personal kepada Anda?

Berhubung SimpleLogin tidak dibiayai oleh iklan dan tidak memberikan pengguna kontrol penuh terhadap data yang mereka miliki, kami tidak memiliki alasan apa pun untuk memanfaatkan data pengguna Anda.

Seluruh kode sumber SimpleLogin bersifat open source dan tersedia di GitHub.

Siapa pun bebas untuk mengaudit kode kami atau menyiapkan server SimpleLogin milik sendiri.

Penghasilan SimpleLogin didasarkan pada model bisnis yang transparan dan berkelanjutan, yang memungkinkan kami untuk menghadirkan produk yang mengutamakan privasi dan bebas dari pelacak.

Tentunya! Kami memulai dengan platform web karena platform ini dapat digunakan untuk aplikasi seluler melalui Android WebView atau iOS UIWebView.

Ke depannya, kami berencana untuk menyediakan SDK terkait beserta contoh penggunaannya untuk Android, iOS, dan Windows. Nantikan tanggal rilisnya!