Skip to content

12965 add passwordless config in db - #112

Closed
giregk wants to merge 2 commits into
rgsystemes:feat-11023-ssofrom
giregk:12965-sso
Closed

12965 add passwordless config in db#112
giregk wants to merge 2 commits into
rgsystemes:feat-11023-ssofrom
giregk:12965-sso

Conversation

@giregk

@giregk giregk commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds database-level configuration to support passwordless auth and adjusts the bank config API payload in support of updated SSO behavior.

Changes:

  • Adds uses_passwordless_auth to allowed_emails and ms_entra_vaults_use_passwordless_auth to banks via a new migration.
  • Drops bank_sso_config.is_sso_v2 and removes it from the sso_configs JSON payload.
  • Introduces a new top-level usesSsoV2 field in getBankConfig response (currently hard-coded).

Reviewed changes

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

File Description
src/api2/routes/bank/getBankConfig.ts Updates bank config response shape by removing is_sso_v2 from SSO configs and adding a new usesSsoV2 flag.
migrations/2026-07-28_14-11-47_sso_passwordless.js Adds passwordless-related columns and removes the is_sso_v2 column from bank_sso_config.

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

Comment thread src/api2/routes/bank/getBankConfig.ts Outdated
Comment thread migrations/2026-07-28_14-11-47_sso_passwordless.js
Comment thread src/api2/routes/bank/getBankConfig.ts Outdated
@giregk

giregk commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

See #113

@giregk giregk closed this Jul 31, 2026
@giregk
giregk deleted the 12965-sso branch July 31, 2026 12:06
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.

2 participants