Skip to content

Example Django App with EVE Online Single Sign-On (SSO) and authenticated CREST access.

License

Notifications You must be signed in to change notification settings

flesser/django-crest-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS PROJECT IS OUTDATED. The CREST API was discontinued.

django-crest-example

This is an example for a simple Django App with EVE Online Single Sign-On (SSO) and authenticated CREST access. It depends on Python Social Auth to integrate EVE SSO with Django's builtin user authentication system and uses PyCrest to interact with the CREST API.

Live Demo

A live demo is not available anymore, since CREST is discontinued.

Getting started

If you want to try it out on your own server, loosely follow these steps:

  1. Get the code:
git clone https://gitlab.com/flesser/django-crest-example.git
  1. Install dependencies (mainly PyCrest and Python Social Auth):
pip install -r requirements.txt
  1. Register a new application on https://developers.eveonline.com/applications
  • choose name and description as you like
  • for Connection Type select CREST Access
  • in Permissions add publicData to the Requested Scopes List
  • as Callback URL use http://your-server.com/complete/eveonline/ (or http://localhost:8000/complete/eveonline/ if you're using the Django development server)
  1. edit example/settings.py and enter your application's Client ID and Secret Key:
SOCIAL_AUTH_EVEONLINE_KEY = '<Your EVE CREST Application Key>'
SOCIAL_AUTH_EVEONLINE_SECRET = '<Your EVE CREST Application Secret>'
  1. initialize the database:
python manage.py migrate
  1. run development server:
python manage.py runserver
  1. point your browser to http://localhost:8000/

  2. ???

  3. Profit!

About

Example Django App with EVE Online Single Sign-On (SSO) and authenticated CREST access.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published