Skip to content

Curl doesn't return access token #125

@Chatzimina

Description

@Chatzimina

Hello!
I followed step described here https://django-oauth2-provider.readthedocs.org/en/latest/getting_started.html
and also here http://blog.ansals.me/2014/12/04/building-an-oauth2-provider-in-django/
But when I use in command line of ubuntu
curl -X POST -d "client_id=test_id&client_secret=test_secret&grant_type=password&username=user1&password=user1R_PASSWORD" http://localhost:8001/oauth2/access_token/

Nothing is returning. Only the text of "it worked! your first django site etc" Am I missing something? Also my django version is 1.4
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions