You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prefix: `A WorkOS team can be created for your Convex team "${teamInfo.teamSlug}" to use for AuthKit.
162
+
prefix: `A WorkOS team needs to be created for your Convex team "${teamInfo.teamSlug}" in order to use AuthKit.
163
+
164
+
You and other members of this team will be able to create WorkOS environments for each Convex dev deployment for projects in this team.
154
165
155
-
You and other members of this team will be able to create a WorkOS environments for each Convex deployments for projects on this team.
156
166
By creating this account you agree to the WorkOS Terms of Service (https://workos.com/legal/terms-of-service) and Privacy Policy (https://workos.com/legal/privacy).
157
-
To provide your own WorkOS environment credentials instead, choose no and set environment variables manually on the dashboard, e.g. \n${dashboardUrl}\n\n`,
158
-
message: `Create WorkOS team and enable automatic AuthKit environment provisioning for team "${teamInfo.teamSlug}"?`,
167
+
Alternately, choose no and set WORKOS_CLIENT_ID for an existing WorkOS environment.
168
+
\n`,
169
+
message: `Create a WorkOS team and enable automatic AuthKit environment provisioning for team "${teamInfo.teamSlug}"?`,
159
170
});
160
171
if(!agree){
161
172
return"choseNotToAssociatedTeam";
@@ -182,7 +193,7 @@ To provide your own WorkOS environment credentials instead, choose no and set en
182
193
: "\nTo use another email address visit https://dashboard.convex.dev/profile to add and verify, then choose 'refresh'",
183
194
choices: [
184
195
...availableEmails.map((email)=>({
185
-
name: `${email}${alreadyTried.has(email) ? ` (can't create new, already has a WorkOS account)` : ""}`,
196
+
name: `${email}${alreadyTried.has(email) ? ` (can't create, a WorkOS team already exists with this email)` : ""}`,
186
197
value: email,
187
198
})),
188
199
{
@@ -267,39 +278,98 @@ async function applyConfigToWorkosEnvironment(
"Can't configure .env.local, fill it out according to directions for the corresponding AuthKit SDK. Use `npx convex list` to see relevant environment variables.",
0 commit comments