Skip to content

subhajit21/fyle-oauth-flask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fyle-oauth-flask

Template OAuth project with Fyle

fyle-oauth-flask is an OAuth2 template to show how to implement OAuth2 in your flask application to access fyle APIs .

FyleSDK :

FyleSDK is a Python SDK for accessing Fyle APIs. Read more about FyleSDK from this .

Dependencies

You can install all the dependencies using :

$pip install -r requirements.txt

Run fyle-oauth-flask Application

  1. Install all the dependencies if you haven't done yet.
  2. Set Environment variables for CLIENT_ID,CLIENT_SECRET,BASE_URL using :
export CLIENT_ID='<Your Client id>'
export CLIENT_SECRET='<Your Client Secret>'
export BASE_URL='<Your BASE URL>'

  1. Here REDIRECT_URI is http://localhost:8080/refresh_token .You can change it if you want.
  2. Run the application using :
python run.py 

  1. Visit http://localhost:8080/ to login .

About

Template OAuth project with Fyle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.4%
  • HTML 31.6%