Skip to content

iYung/genomelink-hackathon-18-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth Example - Python Flask web app

CircleCI

Requirements

Installation

Install with pip:

$ pip install -r requirements.txt

How to run

Register your app

Visit "My apps" console and set

  • Name: as you like
  • Redirect uris: http://127.0.0.1:5000/callback

Set scopes (whitelists) in "Authorization scopes" panel.

  • report:eye-color
  • report:beard-thickness
  • report:morning-person

Run your app

$ export GENOMELINK_CLIENT_ID=<your_client_id>
$ export GENOMELINK_CLIENT_SECRET=<your_client_secret>
$ export GENOMELINK_CALLBACK_URL="http://127.0.0.1:5000/callback"
$ python app.py

then, visit http://127.0.0.1:5000

How it works

See https://genomelink.io/developers/docs/tutorial-oauth-example/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published