dibidan
11/24/2023, 3:06 PMv13.2.3) and a FastAPI backend (v0.103.2), all in Docker.
- **SuperTokens Setup**:
- `supertokens-auth-react`: v0.35.6
- `supertokens-web-js`: v0.8.0
- `supertokens-python`: v0.16.8
- **Deployment**: Running locally in Docker, connected to a cloud-hosted SuperTokens instance.
- **Authentication Method**: Google third-party sign-in.
### Issue:
- **Authentication**: It's hit-and-miss. Sometimes everything works (login/logout), but sometimes I encounter jwt.exceptions.InvalidSignatureError: Signature verification failed. Right now I can't login anymore, yesterday I had the same issue but it seemed resolved this morning. Sometimes I experience no issues until i logout, then I can't login again and this issue starts.
- **JWT Token**: Validates correctly on jwt.io, suggesting the token itself might not be the culprit.
### Context:
- **Custom Functions**:
- `override_thirdparty_functions`: Customizes the sign-in/up process, checks email allowlist, and logs details.
- `override_thirdparty_apis`: Manages the API side of third-party sign-in/up, logs process start, and handles specific sign-up exceptions.
- **Observation**: Disabling these functions doesn't seem to change anything.
I'm really stumped as to what might be causing these intermittent authentication issues. Any advice, tips, or shared experiences would be valuable.