Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change la librairie d'authentification pour django-oauth2-toolkit #2251

Merged
merged 1 commit into from
Feb 8, 2015
Merged

Change la librairie d'authentification pour django-oauth2-toolkit #2251

merged 1 commit into from
Feb 8, 2015

Conversation

GerardPaligot
Copy link
Member

Q R
Correction de bugs ? oui
Nouvelle Fonctionnalité ? non
Tickets concernés #2229

Change la librairie d'authentification pour django-oauth2-toolkit

QA :

Environnement

  • Mettez à jour vos dépendances.
  • Mettez à jour votre base.
  • Créez une Application via l'espace administrateur (avec un grant password).

Récupérer un token

  • Prenez la console rest de votre choix.
  • Lancez une requête POST, vers localhost:8000/oauth2/token/ avec les paramètres suivants :
    • client_id
    • client_secret
    • username
    • password
    • grant_type : password
  • Récupérer l'access_token token dans la réponse.

Test du token

Testez là avec une route qui nécessite l'authentification.

We changes the library to be compatible Django 1.7 and Python 3.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 78.1% when pulling a07a59e on GerardPaligot:fix_oauth2 into 9b8955b on zestedesavoir:dev.

@SpaceFox
Copy link
Contributor

SpaceFox commented Feb 8, 2015

Ça marche ici. Je merge.

SpaceFox added a commit that referenced this pull request Feb 8, 2015
Change la librairie d'authentification pour django-oauth2-toolkit
@SpaceFox SpaceFox merged commit d8b2be3 into zestedesavoir:dev Feb 8, 2015
@GerardPaligot GerardPaligot deleted the fix_oauth2 branch February 8, 2015 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants