But I receive an error after logging in and am passed back to the callback url:
{"error":"Failed to get Oauth token","trace":["Failed to parse server response","Invalid JSON web token: found 5 parts (expected 3) at line 1 column 6954"]}
Is this a configuration error or bug?
Originally created by @jacksjam on GitHub (Aug 2, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/706
I have configured OIDC to the docs available here:
- https://integrations.goauthentik.io/infrastructure/komodo/
But I receive an error after logging in and am passed back to the callback url:
{"error":"Failed to get Oauth token","trace":["Failed to parse server response","Invalid JSON web token: found 5 parts (expected 3) at line 1 column 6954"]}
Is this a configuration error or bug?
And created common app and OAuth2/OpenID provider in authentik
And it's working for me
looks like you are getting a broken token, there really should be 3 parts
<!-- gh-comment-id:3146735770 -->
@krom commented on GitHub (Aug 2, 2025):
I've configured komodo with this
```
KOMODO_OIDC_ENABLED=true
KOMODO_OIDC_PROVIDER=https://auth.domain.com/application/o/komodo/
KOMODO_OIDC_CLIENT_ID=AAA # Alt: KOMODO_OIDC_CLIENT_ID_FILE
KOMODO_OIDC_CLIENT_SECRET=BBB # Alt: KOMODO_OIDC_CLIENT_SECRET_FILE
```
And created common app and OAuth2/OpenID provider in authentik
And it's working for me
looks like you are getting a broken token, there really should be 3 parts
@jacksjam Im also getting this, do you have any idea what you could have done differently the second time you made the provider? I've recreated the application and provider in authentik several times and no dice. I have several other working OAuth2 providers so doesn't seem to be anything on the authentik side.
<!-- gh-comment-id:3167500332 -->
@MaxPelly commented on GitHub (Aug 8, 2025):
@jacksjam Im also getting this, do you have any idea what you could have done differently the second time you made the provider? I've recreated the application and provider in authentik several times and no dice. I have several other working OAuth2 providers so doesn't seem to be anything on the authentik side.
<!-- gh-comment-id:3168218558 -->
@jacksjam commented on GitHub (Aug 8, 2025):
@MaxPelly I did absolutely nothing differently just re created as per the docs https://integrations.goauthentik.io/infrastructure/komodo/
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jacksjam on GitHub (Aug 2, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/706
I have configured OIDC to the docs available here:
But I receive an error after logging in and am passed back to the callback url:
{"error":"Failed to get Oauth token","trace":["Failed to parse server response","Invalid JSON web token: found 5 parts (expected 3) at line 1 column 6954"]}
Is this a configuration error or bug?
@krom commented on GitHub (Aug 2, 2025):
I've configured komodo with this
And created common app and OAuth2/OpenID provider in authentik
And it's working for me
looks like you are getting a broken token, there really should be 3 parts
@jacksjam commented on GitHub (Aug 2, 2025):
Hm. Recreating the provider resolved the issue 🤷🏻♂️
Thank you
@MaxPelly commented on GitHub (Aug 8, 2025):
@jacksjam Im also getting this, do you have any idea what you could have done differently the second time you made the provider? I've recreated the application and provider in authentik several times and no dice. I have several other working OAuth2 providers so doesn't seem to be anything on the authentik side.
@jacksjam commented on GitHub (Aug 8, 2025):
@MaxPelly I did absolutely nothing differently just re created as per the docs https://integrations.goauthentik.io/infrastructure/komodo/