It should really just return
"token_type": "Bearer",
instead of the current
"token_type": "BearerToken",
which is obviously wrong.
While developers *would* know that they need to use Bearer <token> in the Authorization header. it's just not pretty. And using API consoles like the one on SwaggerHub just fails as it reuses the token_type as the prefix to the token.
Solved! Go to Solution.
Ohhh, It's just the name in the response. Totally understand.
You can change the response in the proxy using simple policies like JSON -> XML & then using policy like XSL Transformation to change the value to Bearer & Then back to JSON. Also, Extract Variables Policy & Assign Message to change the same to Bearer with out XSL Transformation policy.
Understand that OOB will be lot better & I will pass on the feedback to Engineering Team. You can also do that using Feedback button in new Edge UI left side bar.
When you actually send the token, You actually send Authorization header with prefix "Bearer <TOKENHERE>".
Hope it helps.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |