Skip to content
Go to file


Failed to load latest commit information.

Authlib Playground

An online playground for Authlib.

Play Authlib with

Dive into Authlib

  1. Create an account at
  2. Try Authlib client features with Connects
  3. Try Authlib OAuth servers with Apps

OAuth 2 Server

Read the documentation on OAuth 2 Flask server.


  • Authorization Endpoint:
  • Token Endpoint:
  • Revocation Endpoint:


  • User profile (no scope):
  • User email (scope: email):
  • User connects (scope: connects):

OAuth 1 Server

Read the documentation on OAuth 1 Flask server.


  • Authorization Endpoint:
  • Temporary Credentials Endpoint:
  • Token Credentials Endpoint:


  • User profile:

Local development

To run this playground, you need to clone this repo at first:

$ git clone

Create an virtualenv, and install the requirements:

$ pip install -r requirements.txt

Copy the sample conf file in conf directory:

$ cp conf/ conf/

You need to register client Apps in these websites:

  1. Google
  2. Twitter
  3. Facebook
  4. GitHub

Get the client_id/consumer_key and client_secret/consumer_secret from these services and fill them into conf/

Please remember to set the right callback uri:

  1. Google:
  2. Twitter:
  3. Facebook:
  4. GitHub:

Run the example server with:

$ export
$ export FLASK_DEBUG=1
$ flask run
You can’t perform that action at this time.