We are attempting to connect to SharePoint using a swagger file and the REST API. We have been able to authenticate using OAuth 2.0 but are hitting a roadblock when trying to test any services contained in the swagger file. We recently were able to do this with ServiceNow and are hoping to do the same thing with SharePoint.
The redirect_uris match and the application has been given full control in SharePoint.