Skip to content

Commit 42022b6

Browse files
committed
Add BYO auth for oauth options
1 parent dcc807d commit 42022b6

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

apps/webapp/app/components/integrations/SelectOAuthMethod.tsx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { ConnectToOAuthForm } from "./ConnectToOAuthForm";
77
import { Paragraph } from "../primitives/Paragraph";
88
import { Client } from "~/presenters/IntegrationsPresenter.server";
99
import { UpdateOAuthForm } from "./UpdateOAuthForm";
10+
import { LinkButton } from "../primitives/Buttons";
1011

1112
export function SelectOAuthMethod({
1213
integration,
@@ -76,7 +77,7 @@ export function SelectOAuthMethod({
7677
id="EXTERNAL"
7778
value="EXTERNAL"
7879
label="Your users"
79-
description="We will give you OAuth React components so you can connect as your users."
80+
description="Use an external authentication provider or your own user database to provide auth credentails of your users."
8081
variant="description"
8182
/>
8283
</RadioGroup>
@@ -108,14 +109,19 @@ export function SelectOAuthMethod({
108109
)
109110
) : (
110111
<>
111-
<Header2 className="mb-1 mt-4">User OAuth coming soon</Header2>
112+
<Header2 className="mb-1 mt-4">BYO Auth</Header2>
112113
<Paragraph spacing>
113-
End-user OAuth is going to be released soon. If you are interested in being an early
114-
beta tester then please{" "}
115-
<a href="mailto:[email protected]" className="text-indigo-500 underline">
116-
message us
117-
</a>
118-
.
114+
We support external authentication providers through Auth Resolvers. Read the docs to
115+
learn more:{" "}
116+
<LinkButton
117+
variant="secondary/small"
118+
LeadingIcon={"docs"}
119+
TrailingIcon={"external-link"}
120+
to="https://trigger.dev/docs/documentation/guides/using-integrations-byo-auth"
121+
target="_blank"
122+
>
123+
Bring your own Auth
124+
</LinkButton>
119125
</Paragraph>
120126
</>
121127
))}

0 commit comments

Comments
 (0)