Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 933 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 933 Bytes

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.