PipedreamHQ / PipedreamHQ/pipedream

[BUG] Keycloak - Token inactivated after one operation

Open
#12,134 1 comment 1 reaction 0 assignees View on GitHub
bug tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
Keycloak, after I connected to keycloak account, I can execute an action for example the delete user as below
![image](https://github.com/PipedreamHQ/pipedream/assets/18277920/0231aff2-96ee-4c08-89b7-4e6ef19dba79)

Though after that, I couldn't fetch data anymore
![image](https://github.com/PipedreamHQ/pipedream/assets/18277920/1c622dab-6f40-45f7-8e3a-ed3da4889900)

On the source log, I see the error
```
2024-05-27 10:01:14 2024-05-27 03:01:14,559 DEBUG [org.keycloak.services.managers.AuthenticationManager] (executor-thread-12) Failed to verify identity token: Token is not active
2024-05-27 10:01:14 2024-05-27 03:01:14,560 DEBUG [org.keycloak.services.resources.admin.AdminRoot] (executor-thread-12) Token not valid
2024-05-27 10:01:14 2024-05-27 03:01:14,560 DEBUG [WebApplicationException] (executor-thread-12) Restarting handler chain for exception exception: jakarta.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
2024-05-27 10:01:14 at org.keycloak.services.resources.admin.AdminRoot.authenticateRealmAdminRequest(AdminRoot.java:186)
```
image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.