How can we make it easier for you to develop on top of Wild Apricot?

Swaggerhub returns 403 Forbidden on all requests to API

Real simple: Using Swaggerhub to play with the API. I give it a valid API key, it is able to login/authenticate successfully, but the only function returning code 200 OK is default (/) ... when I try the /accounts function or any other function I get 403. Tried 2 different API keys..... with both read-only and admin level access but No matter what I do I get a 403 trying to test the API using the swaggerhub UI

1 vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Darvell Powell shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

That typically occures if you don’t check “Auto” checkbox in the scopes list (swaggerhub does not allow to check it by default).

So when oAuth service gets your response it creates oAuth token with almost no permissions. Technically it is totally valid situation, but such token is almost useless.

So the solution is to check “Auto” checkbox in the list of scopes.

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base