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

Fixed issue with token URI not valid or returning error Bug#360 #361

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fixed issue with token URI not valid or returning error Bug#360 #361

wants to merge 3 commits into from

Commits on Nov 22, 2017

  1. Fixed issue with token URI not valid or returning error Bug#360

    1. Fixed the code to handle content_type missing from headers. instead of defaulting it to JSON, now trying to load it to json, xml, or then simply returning the content. Code was failing when the content_type was missing but the content was not of json type.
    
    2. Handled the case where an exception was raised when the token URL responsed in a code other than 200 or 201. Instead of raising OauthException now returning the error code in a dictionary so that it can be handled or displayed.
    mayankberi1 committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    82d8987 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2017

  1. Fixed issue with token URI not valid or returning error Bug#360

    1. Fixed the code to handle content_type missing from headers. instead of defaulting it to JSON, now trying to load it to json, xml, or then simply returning the content. Code was failing when the content_type was missing but the content was not of json type.
    
    2. Handled the case where an exception was raised when the token URL responsed in a code other than 200 or 201. Instead of raising OauthException now returning the error code in a dictionary so that it can be handled or displayed.
    mayankberi1 committed Nov 26, 2017
    Configuration menu
    Copy the full SHA
    c93b931 View commit details
    Browse the repository at this point in the history
  2. Fixed issue with token URI not valid or returning error Bug#360

    1. Fixed the code to handle content_type missing from headers. instead of defaulting it to JSON, now trying to load it to json, xml, or then simply returning the content. Code was failing when the content_type was missing but the content was not of json type.
    
    2. Handled the case where an exception was raised when the token URL responsed in a code other than 200 or 201. Instead of raising OauthException now returning the error code in a dictionary so that it can be handled or displayed.
    mayankberi1 committed Nov 26, 2017
    Configuration menu
    Copy the full SHA
    0999dde View commit details
    Browse the repository at this point in the history