Forum Discussion
Don't be confused, this is using OAuth 2.0, and not basic authentication (which would be much easier to do yourself).
In SoapUI, you can set up OAuth by going to a request and clicking the Auth tab along the bottom, and Add New Authorization...
But you mention youre using your own app (and not SoapUI?). OAuth 2.0 is a slightly complex multiple step process - I think these days people are mostly just using a library to handle it.
Thank you for your information.
But when I decrypt the Token generated by Swagger, there are extra un-encryptable parts (I mean some parts remain hashed).
What you provided is good but I'm looking for actual code here. A way to generate the Bearer token just like Swagger. Any other way I try it, the API doesn't accept it. But when Swagger generates it, it is all heaven!
When you have a good experience in your field and can't fix such simple issue, it really drives you banana!
Related Content
- 3 years ago
- 2 years ago
Recent Discussions
- 9 days ago
- 15 days ago