Skip to content

Hard to debug OIDC #1401

@iterion

Description

@iterion

/about output:

{"version":"v2.3.3","uiVersion":"v2.3.2","commit":"45b06f8","deploymentId":"01K1VQC9BW89NXYNBH918Q8MWT","updateAvailable":false,"latestVersion":null,"llmActive":false,"llmProvider":null,"oidcActive":true,"license":"AGPL-3.0-only","mode":"Distributed (Query)","staging":"/parseable/staging","hotTier":"Enabled, Path: /parseable/hot-tier","grpcPort":8001,"store":{"type":"S3 bucket","path":"sorry-not-here"},"analytics":{"clarityTag":null}}

Description:

I suspect I've made a mistake with my OIDC config, but it's really hard to debug because I'm pretty sure any errors are getting swallowed here:

let oidc_client = Data::into_inner(oidc_client);
let Ok((mut claims, user_info)): Result<(Claims, Userinfo), anyhow::Error> =
request_token(oidc_client, &login_query).await
else {
return Ok(HttpResponse::Unauthorized().finish());
};

I'd expect that parseable would log those errors in some way, it's fine if they're not returned to the end-user, but there should be some way to log them to stdout or even to parseable itself such that you can debug your OIDC config.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions