Hey, guys! I have been using self-hosted Kratos with OIDC with Google for over a year, but then I updated the version of Kratos to 1.1.0 and OIDC stopped working.
It fails at the mapping phase, where the jsonnet snippet is evaluated. I get the following error:
jsonnetsecure eval: context deadline exceeded.
Does anyone know why this might be happening?
r
refined-kangaroo-48640
06/19/2024, 9:20 AM
If you are running the process on a low-powered machine (1 CPU), try adding
GOMAXPROX=8
to the environment.
refined-kangaroo-48640
06/21/2024, 8:00 AM
Whoops. That should read
GOMAXPROCS=8
m
mysterious-journalist-51520
06/21/2024, 8:03 AM
Hey!
Seems like the issue was of different nature.
I fixed it by providing a different Google APIs URL in the config.
Took it from a working version.
The previous URL worked in an older version, but stopped working after the update.
Didn’t have time to dig into the reasons why so.