Jump to content

hi,Please help me how to create a bearer token in swagger using TIBCO bw6 configuration.


Divya Kudipudi

Recommended Posts

Hi Emmanuel,

 

I have already configured the JWT library in my studio and was able to validate the JWT token.My doubt is how can we do the implementation to display bearer token in the headers in swagger inorder to validate the Azure JWT Token.like the following.Thank you in advance.

Link to comment
Share on other sites

Hi,

From the https://jwt.io/introduction page I understand that the JWT token has to be managed in the Authentication HTTP Header using the Bearer schema.

I see also the Open API 3.0 documentation has a section on this :

https://swagger.io/docs/specification/authentication/bearer-authentication/

I'am not sure if this is possible to do the same in Swagger 2.0. If Open API 3.0 has to be used this is supported by BW 6.7 and higher version.

On the other hand I think it should be possible to manage the HTTP Authentication header even if not defined in the Swagger file but it would appear as 'undocumented' to the applications using this swagger file.

Link to comment
Share on other sites

×
×
  • Create New...