flask-rest-jsonapi
flask-rest-jsonapi copied to clipboard
Accessing OAuth protected resources with bearer token
trafficstars
Hi, can someone help me designing requests with bearer token which I got from authorization endpoint from my Auth provider to access flask-rest-jsonapi resources which I have protected with oauth. I have followed the specs to the document. When I put a disable_oauth = True in resource class I get the access to resources as before; which makes me believe my oauth setup is correct for flask-rest-jsonapi. I am following RFC 6750 for building my requests. Any assistance on how to form requests would be great. Also, a demo/skeleton for putting the resources inside oauth decorators would be good, but I guess that has been covered in docs and I'm following them by word.