Figma Support Forum

Oauth callback for user not granting permissions

Hi, I’m doing an integration with Figma OAuth, and I’ve hit a small bump.

when the user is redirected to Figma and is asked to grant permissions (consent) to my app, if the user declines, nothing happens.

if the user approves, I’m being properly redirected back to my site with the code and I can complete the flow.

but if the user choses NOT to approve, the button on Figma side does nothing, I think its not a good experience for the user, so raising here a question of how to fix it?