cxf-rt-rs-security-oauth2 with cxf-rt-rs-service-description-swagger
Banging my head against the wall for multiple days and hoping to get some help here ..
I am using cxf-rt-rs-security-oauth2 together with cxf-rt-rs-service-description-swagger
Have swagger configured and working ( sort of )
using application SecurityDefinition, I do see an Authorize button, and when I click on it, I get to input my id / secret and it makes a valid token call.
here is the problem:
I can't figure out how to append this token to an actual Get swagger endpoint I have configured. Nothing gets appended to it
When it says : Authorized, and I see a value with ****
Where can I access this via the UI?
My concern is that my token returns a BearerAccessToken with tokenKey, so maybe that's causing a problem?
Any help would be appreciated
I have tried setting up a ApiKeyAuthDefinition SecurityDefinition, and this works. So w/e value I append via the UI in swagger, gets added to my header in my GET endpoint call.
But it's not ideal, as people won't have this key ( they need to perform the token call to get it .... )