Security

Reply
Highlighted
Occasional Contributor I

Clearpass REST API Authorization - Bearer Token vs Basic Auth

Hello!

Project overview:  I am trying to use the REST API to create guest accounts via our service desk ticketing system.

Where I'm at:  I have created the API user, gotten a Bearer Token, and I can create accounts perfectly fine using CURL from the command line.

The problem:  The ticketing system only supports "Authorization: Basic <token>" not "Authorization: Bearer <token>".  It also supports username/password (but nothing more).

 

I'd like to know if it is possible to get a basic token to use/API key, rather than a bearer token.

 

In the meantime, I was able to finish my project using the tipsapi and xml files, but I'd like to move to the REST API since that's the direction ClearPass is moving, and I'm not sure how much longer the tipsapi will be supported.


Accepted Solutions
Highlighted
Moderator

Re: Clearpass REST API Authorization - Bearer Token vs Basic Auth

No, we do not support Basic Auth for the REST API.



If this response is more than 1 year old, it may no longer be accurate. Please consult official Aruba documentation, TAC or your Aruba SE.

| Aruba Alumni | @timcappalli | timcappalli.me |

View solution in original post


All Replies
Highlighted
Moderator

Re: Clearpass REST API Authorization - Bearer Token vs Basic Auth

No, we do not support Basic Auth for the REST API.



If this response is more than 1 year old, it may no longer be accurate. Please consult official Aruba documentation, TAC or your Aruba SE.

| Aruba Alumni | @timcappalli | timcappalli.me |

View solution in original post

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: