Hello everyone who is reading this, I've got an interesting issue for you today.
Multiple apis that we have developed have both a Basic Auth as well as a Bearer. Basic is usually used for the login to see if the user can access the api. The Bearer is the key they get from that.
Now onto the issue:
As you can see here, the BearerAuth has been changed to Basic, even though in the subsequent swagger documentation it still says Bearer:
Is this an issue from apigee, or am I doing something wrong?
Solved! Go to Solution.
This is a known issue in the Integrated Portal, works fine in Spec editor.
You can workaround by using the "apiKey" type.
For example:
FauxBearer - Paste in value - Bearer YOUR-TOKEN: type: "apiKey" name: "Authorization" in: "header" description: >- Workaround for Bearer scheme. Enter the following in the Key field **Bearer YOUR-TOKEN**
This is view inSpec Editor.
This is view in Portal
This is a known issue in the Integrated Portal, works fine in Spec editor.
You can workaround by using the "apiKey" type.
For example:
FauxBearer - Paste in value - Bearer YOUR-TOKEN: type: "apiKey" name: "Authorization" in: "header" description: >- Workaround for Bearer scheme. Enter the following in the Key field **Bearer YOUR-TOKEN**
This is view inSpec Editor.
This is view in Portal
Amazing, thank you!
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |