Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Aug 25, 2019

I had trouble getting grant_type=password working with the Django REST Framework example in the DOT tutorial. The answer was to set the OAuth2 backend class to 'oauth2_provider.oauth2_backends.JSONOAuthLibCore': #127 (comment)

I was trying to use Angular framework with its HttpClient and I think the POST requests were sending over content with application/json. It would have been a better experience to see this documented in the tutorial.

I had trouble getting `grant_type=password` working with the Django REST Framework example in the DOT tutorial. The answer was to set the OAuth2 backend class to `'oauth2_provider.oauth2_backends.JSONOAuthLibCore'`: #127 (comment)

I was trying to use Angular framework with its HttpClient and I think the POST requests were sending over content with `application/json`. It would have been a better experience to see this documented in the tutorial.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1130

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.697%

Totals Coverage Status
Change from base Build 1114: 0.0%
Covered Lines: 1250
Relevant Lines: 1320

💛 - Coveralls

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