diegosouzapw/OmniRoute · error
Qoder browser OAuth is experimental and disabled by default.
Error message
Qoder browser OAuth is experimental and disabled by default. Configure QODER_OAUTH_* environment variables or use a Personal Access Token.
What it means
Error "Qoder browser OAuth is experimental and disabled by default. Configure QODER_OAUTH_* environment variables or use a Personal Access Token." thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/oauth/providers/qoder.ts:21
export const qoder = {
config: QODER_CONFIG,
flowType: "authorization_code",
buildAuthUrl: (config, redirectUri, state) => {
if (!config?.enabled || !config?.authorizeUrl) {
return null;
}
const params = new URLSearchParams({
loginMethod: config.extraParams.loginMethod,
type: config.extraParams.type,
redirect: redirectUri,
state: state,
client_id: config.clientId,
});
return `${config.authorizeUrl}?${params.toString()}`;
},
exchangeToken: async (config, code, redirectUri) => {
if (!config?.enabled || !config?.tokenUrl) {
throw new Error(
"Qoder browser OAuth is experimental and disabled by default. Configure QODER_OAUTH_* environment variables or use a Personal Access Token."
);
}
const headers: Record<string, string> = {
"Content-Type": "application/x-www-form-urlencoded",
Accept: "application/json",
};
if (config.clientSecret) {
const basicAuth = Buffer.from(`${config.clientId}:${config.clientSecret}`).toString("base64");
headers.Authorization = `Basic ${basicAuth}`;
}
const bodyParams: Record<string, string> = {
grant_type: "authorization_code",
code: code,
redirect_uri: redirectUri,
client_id: config.clientId,View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/oauth/providers/qoder.ts:21 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/bd82776a00c50431.
Report an issue: GitHub.