OAuth1 via RAML Console


I am defining the security schemes of my API like this:

- basic:
    type: Basic Authentication
- oauth_1_0:
    description: OAuth 1.0 authentication.
    type: OAuth 1.0
      requestTokenUri: https://api.dropbox.com/1/oauth/request_token
      authorizationUri: https://www.dropbox.com/1/oauth/authorize
      tokenCredentialsUri: https://api.dropbox.com/1/oauth/access_token
securedBy: [oauth_1_0, basic]

Nevertheless, the RAML Console just lets me choose basic-Authentication in the ‘Try It’ section. Why is oauth_1_0 missing? With oauth_2_0 I dont have this problem.

Thanks for help.


I just downloaded the RAML Console from github and locally the above mentioned definition seems to work!

Now I run into another problem:
When I want to make an OAuth1 authenticated request, the RAML Console tries to initiate the full OAuth1 Redirection-Based Authorization flow like it is described in section 2 of http://tools.ietf.org/html/rfc5849.
Is it also possible just to enter client and token credentials to make authenticated request without going through the full Authorization flow? For example, this is possible in the Firefox REST Client Plugin and it would be nice to have something similar to: http://www.magentocommerce.com/api/rest/attachments/29221106/35619337.png.

Thanks again.