Validate user's session with OAuth2 provider
I'm currently using TRPC with Better Auth
I'm depending on my OAuth2 provider for user profiles etc
Unfortunately currently, the Better Auth token works until it expires, even if the user was deleted or updated at the provider
So I want to 'validate' the user's session in some way to ensure the above can't happen
How could I do this?
I'm depending on my OAuth2 provider for user profiles etc
Unfortunately currently, the Better Auth token works until it expires, even if the user was deleted or updated at the provider
So I want to 'validate' the user's session in some way to ensure the above can't happen
How could I do this?