I am building google oauth2 for my application. For now I am starting with web client and planing for mobile client in future.
While storing refresh and access token in backend I am storing tokens as refresh_token_web and access_token_web so that it will be clear that these tokens are for web client. Basically tokens are stored independently for each type of client.
As I understand tokens are given for application and not for specific client. If user does oauth2 using mobile client will refresh_token_web still work or it will be out of scope?
Am I doing right thing by storing tokens independently? Anyone has faced any issue with this approach?