I’m building an app using the Truelayer API, where UK financial services providers require the user to reauthenticate every 90 days. There is a special endpoint for reauthentication that takes a refresh token and returns a temporary link for the user to extend their connection. Docs here: https://docs.truelayer.com/reference/generatereauthlink
I have my Truelayer connection working using Foundry’s built in Oauth client with the two token exchange webhooks. The hook for exchanging a refresh token for an access token just takes refresh_token as a string input parameter, and then Foundry “knows” to insert the stored refresh token there. But if I make refresh_token an input parameter in my reauthentication webhook then Foundry asks me to provide it manually. Is there a way to access the stored refresh_token for use in custom webhooks?
Thank you!