@vellumai/assistant 0.11.2-dev.202608051957.9bcef49 → 0.11.2-dev.202608052033.7272f57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.11.2-dev.202608051957.9bcef49",
3
+ "version": "0.11.2-dev.202608052033.7272f57",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -726,7 +726,15 @@ export const PROVIDER_SEED_DATA: Record<
726
726
  ],
727
727
  availableScopes:
728
728
  "https://learn.microsoft.com/en-us/graph/permissions-reference",
729
- authorizeParams: { prompt: "consent" },
729
+ // `select_account`, not `consent`: the Microsoft identity platform accepts
730
+ // a single prompt value, and `consent` honours an existing session cookie —
731
+ // it re-asks for consent but never for *which* account, so a user who
732
+ // already signed in cannot connect a second mailbox. `select_account`
733
+ // always shows the account picker with its "Use another account" option.
734
+ // Consent is still collected for an account that has not granted it, and
735
+ // refresh tokens come from the `offline_access` scope above, so nothing is
736
+ // lost by dropping `consent`.
737
+ authorizeParams: { prompt: "select_account" },
730
738
  tokenEndpointAuthMethod: "client_secret_post",
731
739
  loopbackPort: 17334,
732
740
  managedServiceConfigKey: "outlook-oauth",