USPS / api-examples

76 stars 16 forks source link

TINTCYALF token #29

Open ardev0927 opened 5 months ago

ardev0927 commented 5 months ago

Hello. I am going to generate an authorization code using https://api.usps.com/oauth2/v3/authorize. So I need TINTCYALF token, how to get this token? Please help me

ghost commented 5 months ago

You cannot generate an authorization code directly since you do not have the value for that cookie parameter.

Your application has to go through the USPS onboarding portal, where you sign-in with your USPS Customer Registration System credentials and authorize access to your client application to utilize your information protected at the USPS. The onboarding portal will then redirect back to your application, using the redirect URL which you provided when you registered your app with the USPS.

You can then exchange the authorization code for access and refresh tokens. Your app may then act on this user's behalf.

Please refer to the 'Getting Stated' page in the USPS Developer portal, developer.usps.com for further information including the link to the onboarding portal.