#irat_oauth-standard

1 messages ¡ Page 1 of 1 (latest)

sacred lakeBOT
#

👋 Welcome to your new thread!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

🔗 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/1212812153372016721

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

⏲️ 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. Thank you for your patience!

sacred stirrupBOT
thorny cedar
#

irat_apps-refreshtoken

#

Hey @plain thunder Can you provide a bit more context around your exact ask, what you are doing, what's not working and especially which exact doc page are you following?

plain thunder
#

Hello

#

I am developing a plataform which will integrate with Stripe. So, my users will be able to make transactions in Stripe via my plataform. To authenticate and autorizate it, we are using OAuth.
The conection is operating well, but now I need to develope the method to refresh the token once it expiry.
My 2 main doubts are:

  • how can I get the expiry date from Refresh Tokens in Stripe? They are not provided in the JSON right?
  • how can I get a new refresh token? This one I believe it is described in documentation, but I tryied with my current refresh token and I received a 400
thorny cedar
#

Are you using OAuth and Connect or are you building a Stripe App. Those are completely different integration paths

plain thunder
#

I'm using OAuth to connect my plataform with stripe accounts from the users.

thorny cedar
#

yeah that's why I am asking. The two integration are completely different

#

so I need to know which one you are really using

plain thunder
#

I guess I messed up this 2 so. I'm using OAuth and Connect.

thorny cedar
#

Okay so you never really need refresh token like ever

plain thunder
#

Ok, so I can use OAuth just for retrieve the account ID, and than I can use this way to make the operations right?

thorny cedar
#

yes

#

irat_oauth-standard

plain thunder
#

Ok, well done. Thank you