Skip to content

mainerror/ESI_Flask_Authlib_SSO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESI Single Sign On sample with Flask and Authlib

The Eve Online Swagger Interface uses OAUTH2 for authorization.

There is a CCP blog entry (ESI STEP BY STEP - SSO TO AUTHENTICATED CALLS) that walks through the process.

There is also a repository example by @Kyria here.

Authlib makes the process much simpler.

This snippet uses Authlib and Flask to implement basic SSO for Eve. It assumes that you have a registered application that you are using.

As of writing, the Eve SSO is not OpenID compatible - the OpenID scopes are not available and there is no standard id_token. This example works around this by decoding the access token and using that as the userinfo.

About

ESI Single Sign On sample with Flask and Authlib

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 91.4%
  • HTML 8.6%