Skip to content

Configure the Coauth OAuth client ID at runtime - #2

Merged
chrislearn merged 1 commit into
mainfrom
feat/paloud-oauth-client-id
Oct 22, 2026
Merged

chrislearn merged 1 commit into
mainfrom
feat/paloud-oauth-client-id

Conversation

@chrislearn

@chrislearn chrislearn commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Codmin hard-codes client_id=codmin, but Coauth accepts ULID client IDs. Read oauth_client_id from /config.json and use it consistently for authorization, code exchange, refresh and revoke. Container deployments can set CODMIN_OAUTH_CLIENT_ID; the default is 01GFWR28C4KNE04WG3HKXB7C9R.

Validate the configured ID before enabling login, document the registration and callback requirements, and add configuration regressions. This is the companion OAuth fix for Paloud's standard Arkret deployment in https://github.com/meldry-com/paloud/pull/41.

Validation:

  • WASM cargo check -p codmin --bin codmin --target wasm32-unknown-unknown --locked passed.
  • Both runtime configuration unit tests passed.
  • Package formatting, git diff --check and entrypoint bash -n passed.

No Docker image was built, pulled or started; no live OAuth deployment was exercised.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T15:16:19.953776Z 7403e14 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chrislearn
chrislearn merged commit 914befe into main Oct 22, 2026
9 of 13 checks passed
@chrislearn
chrislearn deleted the feat/paloud-oauth-client-id branch October 22, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant