Skip to content

Commit cc2a3fc

Browse files
feedback
1 parent 8b5f71c commit cc2a3fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/db/prisma/schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,8 @@ model AccountToRepoPermission {
406406
model Account {
407407
id String @id @default(cuid())
408408
userId String
409-
/// @note: this field matches the `provider` field of the `IdentityProviderConfig` schema
410409
type String
410+
/// @note: this field generally matches the `provider` field of the `IdentityProviderConfig` schema
411411
provider String
412412
providerAccountId String
413413
refresh_token String?

packages/web/src/ee/features/sso/sso.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ const createBitbucketCloudProvider = (clientId: string, clientSecret: string): P
233233
params: {
234234
scope: [
235235
"account",
236+
"email",
236237
...(env.EXPERIMENT_EE_PERMISSION_SYNC_ENABLED === 'true' && hasEntitlement('permission-syncing') ?
237238
['repository'] :
238239
[]

0 commit comments

Comments
 (0)