Closed asharif1990 closed 5 years ago
Are you sure you weren't using an http URI? The error seems pretty self explanatory, and without more details on the URIs you were using for authorization and token exchange I can't really help.
Yes, I am sure about that. These are the endpoints that are used for the authorization and token:
Well, the code at the location referenced by your stack trace is simply checking that the scheme of the URI is https:
I suggest setting a breakpoint to check that the URI being used is the URI that you expect.
I found the problem, it was because of containing " before the endpoint. by the way thanks for your suggestion. I would like to ask another question if I want to make an API call which part of code should I change to make a call to a resource endpoint. I should change the token activity in the way that instead of fetching the endpoint from the discovery, read it from the configuration file?
One more Question, if I didn't want to send the code challenge parameter, Is there any way to comment it within the code. I tried to omit it with the burp proxy, but after that I face some problems. Thanks
Hello, I tried to use this demo to make an API Call to BOX API. I just substitute the endpoints of Facebook and its scope with the BOX API, but I got the following error:
I would be thankfull if you can help me with the aformentioned problem.
thank you in advance best regards Amir