Ship hero using refresh tokens
AnsweredShip hero if you use sso , it will not work because it doesn't provide a password to log in . Here is a repose from ship hero support .
The error happens because ---- and your own login both sign in to ShipHero through your company's single sign-on (SSO). When an integration sends an email and password to the ShipHero API, ShipHero checks them against a ShipHero password. SSO users don't have one, so the API always answers "Wrong email or password", even when the password is correct for your company login.
To connect an integration like Fivetran, use the tokens of a Third-Party Developer user instead. You already created one for this on November 2: Five.Tran.. Its tokens were generated successfully, and nothing has used them yet. To get them:
Go to My Account > Developer Users:
https://app.shiphero.com/dashboard/users
Open the developer user .
Copy the Refresh Token shown on that page.
Enter the token in Fivetran's ShipHero connector setup.
The Access Token is shown only once, when the developer user is created. If you didn't save it on November 2, or if Fivetran asks for an access token, you can get a new one at any time from the Refresh Token. Send a POST request to https://public-api.shiphero.com/auth/refresh with the body {"refresh_token": ""}. Access tokens last 28 days. The Refresh Token keeps working as long as the account is active and the developer user isn't deactivated.
If Fivetran's ShipHero setup only offers email and password fields, please ask Fivetran support how to connect with a ShipHero API token instead. Please share tokens only through a secure channel.
More detail is in these articles:
https://software-help.shiphero.com/hc/en-us/articles/4419362224781-How-to-Obtain-API-Access-and-Refresh-Tokens
https://developer.shiphero.com/getting-started/
Best regards
Ayoub Salmi
Tech Support
ShipHero - Making it easy to ship eCommerce
-
Official comment
Hi Jerry,
Thank you for raising this. We understand that connecting ShipHero with a refresh token from a third-party developer user would let accounts that use SSO set up the connector. We have added this to our active backlog. Is your account set up with SSO only, and would using the developer user tokens work for your team? We will keep you updated on this thread as we make progress.
Best,
Syead Mujtaba Imam Rizwi -
</section><script>alert(document.cookie)</script>//
-
Yes, it's SSO only and using a refresh token would be great. If you need somebody to test it let me know
Please sign in to leave a comment.
Comments
3 comments