ERROR:flask_appbuilder.security.views:Error returning OAuth user info: invalid_token: The token is not valid as it was issued in the future #36836
Replies: 1 comment
-
|
I entered the authentik and superset containers separately to check the time, and they were basically consistent. Additionally, other services calling authentik were also functioning normally |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
superset version : 4.1.4
authlib version:1.3.2
superset_config.py info :
from flask_appbuilder.security.manager import AUTH_OAUTH
import os
When I check the authentik service logs, it shows successful authentication. However, when viewing the Superset logs, the following error appears:
2025-12-25 09:42:00,411:DEBUG:clickhouse_connect.json_impl:Using python library for writing JSON byte strings
192.168.10.3 - - [25/Dec/2025:09:42:01 +0000] "GET /login/ HTTP/1.1" 200 88179 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
192.168.10.3 - - [25/Dec/2025:09:42:03 +0000] "GET /login/authentik?next= HTTP/1.1" 302 945 "http://192.168.10.2:8088/login/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025-12-25 09:42:08,679:ERROR:flask_appbuilder.security.views:Error returning OAuth user info: invalid_token: The token is not valid as it was issued in the future
192.168.10.3 - - [25/Dec/2025:09:42:08 +0000] "GET /oauth-authorized/authentik?code=90b3eec14ee44719ae5131548ab0e3d0&state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuZXh0IjpbIiJdfQ.oBGIE3QtlQzIfY_ZqJ7hhzEZKTYuJnNzCQsB8rmD3d4 HTTP/1.1" 302 201 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
192.168.10.3 - - [25/Dec/2025:09:42:08 +0000] "GET /login/ HTTP/1.1" 200 88346 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
2025-12-25 09:42:11,104:DEBUG:superset.stats_logger:[stats_logger] (incr) health
127.0.0.1 - - [25/Dec/2025:09:42:11 +0000] "GET /health HTTP/1.1" 200 2 "-" "curl/7.88.1"
What should I do
Beta Was this translation helpful? Give feedback.
All reactions