Skip to content

Failed to obtain Access Token from WindowsLive or response was not HTTP status 200 OK #213

@zahidmadeel

Description

@zahidmadeel

Hi,

I have been trying to integrate with windows live using your API. I have tried version 0.6 and 0.7 of your library but I get the following exception

SimpleAuthentication.Core.Exceptions.AuthenticationException: Message: Failed to obtain an Access Token from WindowsLive OR the the response was not an HTTP Status 200 OK. Response Status: BadRequest. Response Description: Bad Request. Error Content: {"error":"invalid_request","error_description":"The provided request must be sent using the HTTP 'POST' method."}. Error Message: --no error exception--.
I get this error on the following line of code
client = authProvider.AuthenticateClient(querystringParameters, existingState, callBackUri);
It seems to me that your API is using get request to obtain access token from windows live and hence it is failing
Regards
Adeel

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions