Skip to content

fix(dev): update local dev setup for ibex-client v3 OAuth2 auth#375

Open
forge0x wants to merge 1 commit into
mainfrom
fix/dev-ibex-oauth2-auth
Open

fix(dev): update local dev setup for ibex-client v3 OAuth2 auth#375
forge0x wants to merge 1 commit into
mainfrom
fix/dev-ibex-oauth2-auth

Conversation

@forge0x
Copy link
Copy Markdown
Contributor

@forge0x forge0x commented May 30, 2026

The ENG-38 Ibex auth migration replaced email/password login with OAuth2 client credentials (clientId + clientSecret). The dev setup scripts and docs still referenced the old auth method.

Changes:

  • Replace IBEX_EMAIL/IBEX_PASSWORD prompts with IBEX_CLIENT_ID/IBEX_CLIENT_SECRET in dev/setup.sh
  • Update dev/config/set-overrides.sh to prompt for clientId/clientSecret instead of email/password
  • Update DEV.md docs to document the new config format
  • Replace stale IBEX_URL/IBEX_EMAIL/IBEX_PASSWORD env vars in .env and docker-compose.yml

Multiple devs can share the same sandbox clientId/clientSecret.

- Replace stale IBEX_EMAIL/IBEX_PASSWORD references with IBEX_CLIENT_ID/IBEX_CLIENT_SECRET
- Update dev/setup.sh to prompt for OAuth2 client credentials
- Update set-overrides.sh to write clientId/clientSecret instead of email/password
- Update DEV.md docs to reflect new config format
- Remove unused .env IBEX_* vars and update docker-compose env vars
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates local development setup for the Ibex OAuth2 client-credentials migration, aligning dev scripts and docs with the app’s existing clientId/clientSecret config shape.

Changes:

  • Replaces legacy Ibex email/password prompts and config generation with OAuth2 client credentials.
  • Updates local config documentation and sample overrides.
  • Updates docker compose and .env Ibex variable names for the price service/local environment.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docker-compose.yml Passes IBEX_CLIENT_ID and IBEX_CLIENT_SECRET to the price service.
dev/setup.sh Prompts for OAuth2 credentials and generates local Ibex overrides.
dev/config/set-overrides.sh Updates interactive override prompts for clientId/clientSecret.
DEV.md Documents the new Ibex local override format.
.env Replaces old Ibex env placeholders with OAuth2 credential placeholders.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread DEV.md
```bash
source .env && source .env.local
```
Flash uses YAML config files. Ibex OAuth2 credentials go in local config overrides, not env vars.
Comment thread dev/setup.sh
Comment on lines +88 to +89
export IBEX_CLIENT_ID='${IBEX_CLIENT_ID}'
export IBEX_CLIENT_SECRET='${IBEX_CLIENT_SECRET}'
Comment thread dev/setup.sh
echo "Checking Ibex credentials..."

if [ -f .env.local ] && grep -q "IBEX_PASSWORD" .env.local 2>/dev/null; then
if [ -f .env.local ] && grep -q "IBEX_CLIENT_ID" .env.local 2>/dev/null; then
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.

3 participants