#shaunneal_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351188992003014767
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, what error do you see exactly? When do you see the error exactly?
gimme a sec - i think it said grant authorization fail
Sure
well now its not doing it
so question is - can i use the refresh token to get a new access token at any time?
or do i have to wait for the current access token to expire?
its this part - 14 and 15
We do not own that so I can't comment about it. I assume you're either referring to https://docs.stripe.com/stripe-apps/api-authentication/oauth or https://docs.stripe.com/connect/oauth-reference. Is that right? If your toke is not revoked/ expired, why are you seeking a refresh token?
well its just alot of work to make the call then get rejected and then do the refresh - it's easier to just refresh each time, and realistically our users are not refreshing more than once a day anyway
yes referrring to the oauth you listed
We document that here: https://docs.stripe.com/stripe-apps/api-authentication/oauth#refresh-access-token
You should store the token on your end: 'You must securely store the refresh token in your backend and use the refresh token to obtain a fresh access token anytime you want to access the Stripe API on behalf of the Stripe User.'
ya
im doing that
i'll recreate the error and then open a new ticket I'm not sure why it's behaving differently now
sorry
Sounds good, no problem