Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stormpath/stormpath-django-sample
Example application demonstrating how to use the Django plugin for Stormpath
https://github.com/stormpath/stormpath-django-sample
Last synced: 24 days ago
JSON representation
Example application demonstrating how to use the Django plugin for Stormpath
- Host: GitHub
- URL: https://github.com/stormpath/stormpath-django-sample
- Owner: stormpath
- License: apache-2.0
- Created: 2014-02-03T23:57:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T16:15:57.000Z (almost 8 years ago)
- Last Synced: 2024-04-13T23:01:29.707Z (8 months ago)
- Language: Python
- Size: 956 KB
- Stars: 4
- Watchers: 32
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Stormpath is Joining Okta
We are incredibly excited to announce that [Stormpath is joining forces with Okta](https://stormpath.com/blog/stormpaths-new-path?utm_source=github&utm_medium=readme&utm-campaign=okta-announcement). Please visit [the Migration FAQs](https://stormpath.com/oktaplusstormpath?utm_source=github&utm_medium=readme&utm-campaign=okta-announcement) for a detailed look at what this means for Stormpath users.We're available to answer all questions at [[email protected]](mailto:[email protected]).
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
stormpath-django-sample
=======================Example application demonstrating how to use the Django plugin for Stormpath
The sample application uses the
[stormpath-django](https://github.com/stormpath/stormpath-django) plugin for
providing Django authentication backend, User models and views integrated
with the Stormpath authentication service.## Install
Once you've cloned this repository locally, you need to install all of the
required project dependencies.You can do this by running:
```console
$ pip install -r requirements.txt
```## Setup
This project requires you to have these environment variables set:
```python
STORMPATH_API_KEY_ID = 'apiKeyId'
STORMPATH_API_KEY_SECRET = 'apiKeySecret'
STORMPATH_APPLICATION = 'https://api.stormpath.com/v1/applications/APP_ID'
```You need to make sure your database and other standard Django settings are
correct.## Running
Running is the same as running any other Django application:
```console
$ python manage.py migrate
$ python manage.py runserver
```For more info please refer to the [django-stormpath documentation](https://github.com/stormpath/stormpath-django).