How to use the UPS api oauth 2.0 auth

preview_player
Показать описание
This video shows how to use the oauth 2.0 api for the UPS api.
Here is a follow up video for you with the code example
Here is the example code.

Thanks for watching
Рекомендации по теме
Комментарии
Автор

Yeah so basically you're using the client_credentials method, not the auth_code
auth_code is supposed to send you to a page where you enter your logins and then redirect to the redirect_uri where this page should fetch the access_token and use this for the following requests.
client_credentials is when you know the credentials and generate a token with it.
A bit missleading when you say "ignore the clientcredentials" etc when you actually show the client_credentials code haha
But otherwise, very clear and good video

cqoteov
Автор

You made my life easier. I faced the same struggle you had. After seeing the video, I know what i have to do. Thank you!

ferozk
Автор

Your intro is so funny, I was LMAO. You can feel the saltiness in your words 😂😂 An thank you very much for posting this!

jeremyhodge
Автор

Here is a follow up video for you with the code example

johnchristensen
Автор

Good video, thanks! btw, the part you had removed from the sample code and couldn't find was the Package -> SimpleRate array

zcpdna
Автор

THANK YOU for putting this up! I have a question tho. Yes, I did get the client and secret; that was the easy part. But now.. when I go to the OAuthAuthCode and want to try it out, the fields that are required are grant_type ("authorization_code"), redirect_uri (ok.. no problem) and.. code. That last one is the "Authorization code from the UPS login system". I saw you didn't have that on your screen. Any idea how to get that code tho? I know you can get it with the Authorize Client.. but that's a huge pain, because I had to put it in the browser, because it wants me to log in.. Am I missing something??

yoon
Автор

The video is very helpful thanks. BTW do you know what transactionSrc and transId are?

muhammadrussell
Автор

I have all the configuration set, have a developer account with client and secret, make the call and I get an "Invalid/Missing Authorization Code". No idea why this is coming back. I am using postman to make the call, it is doing the base64 encoding on the client and secret. No idea how to make this work.

Rcap
Автор

Hi again John. The new comments aren’t showing up.
*Correction: the question I asked earlier and perhaps 2 answers to that question.
For some reason this comment specifically is showing up 🤷‍♂️

alexanderthegreat
Автор

Can someone integration UPS in Magento 2?

faizanarain