Div | ||
---|---|---|
| ||
Contents
|
...
Abiquo has chosen to implement OAuth 1 because it is more secure and interoperable than OAuth 2. See http://hueniverse.com/2012/07/oauth-2-0-and-the-road-to-hell/
...
When you use OpenID Connect, Abiquo disables basic authentication, but you can still use OAuth or a session cookies to token to access the API as before. Or you can obtain OpenID Connect tokens by doing these steps:
- Manually log in to the platform
- When you are redirected back to the Abiquo console, you'll find obtain the access token and refresh token in from the URIbrowser.
Once you have the token, you can issue requests to the API by providing the following HTTP header:
...
Response Headers: Content-Length, Content-Type, Date, X-Abiquo-Token.
Response Message Body: N/A.
Response Status: 200, 401, 403.
Example Response: Response of the authenticated GET over a Datacenters resource
...