WSO2 API Manager, is it possible to disable the access-token mechanism

后端 未结 2 614
广开言路
广开言路 2021-01-16 09:21

Is it possible to disable the access-token mechanism in WSO2 API Manager? So we do not have to set the authentication bearer header .I know I can set the access-token time-o

相关标签:
2条回答
  • 2021-01-16 09:39

    Also, you can edit the swagger for the resources (In latest api manager versions). In the "Design" tab of api select edit source under the "API Definition" section. Then in the swagger under the specific resource you want to skip authentication edit the attribute x-auth-type as follows

    x-auth-type:None
    
    0 讨论(0)
  • 2021-01-16 09:41

    Yes You can. WSO2 API Manager provides resource level authentication where you can specify the authentication mechanism for each HTTP verb. If you set it to 'None', then you do not need to set Authorization headers when you call the API.

    As given in the document[1],when creating the API set 'AuthType' value as 'None' for all the HTTP verbs.

    [1]http://docs.wso2.org/display/AM150/API+Resources

    0 讨论(0)
提交回复
热议问题