warpgate
warpgate copied to clipboard
[BUG] SSO failing to login "code verification error: Parse error: Error"
Unable to sign into Warpgate using this config for SSO
sso_providers:
- name: Casdoor
label: Casdoor
provider:
type: custom
client_id: REDACTED
client_secret: REDACTED
issuer_url: https://cas.example.com
scopes: ["openid", "email", "groups"]
Error:
code verification error: Parse error: Error { path: Path { segments: [] }, original: Error("Failed to parse payload JSON: Error(\"address: invalid length 1, expected struct AddressClaim with 6 elements\", line: 1, column: 2192)", line: 8, column: 1) } / "{
\"access_token\": \"REDACTED",
\"id_token\": \"REDACTED",
\"refresh_token\": \"REDACTED",
\"token_type\": \"Bearer\",
\"expires_in\": 36000,
\"scope\": \"openid openid email groups\"\n}"