/test-py-tw

yajb fork for tw "exercise"

Primary LanguagePython

spark-auth-sample-python

This is a sample code for using spark authentication api.

Create application on Spark developer portal

Sign up to Spark developer portal and create a new application here.

Set you Callback URL to http://localhost:8089/callback.

Configuration

Open the SparkOAuth.py file:

  1. Replace CONSUMER_KEY with your App Key.

  2. Replace CONSUMER_SECRET with your App Secret.

Usage

To start using this sample you just have to browse http://localhost:8089/signin