Skip to content

Commit 43f964a

Browse files
committed
docs: add learn more link about recovering credentials in oss (#13951)
1 parent 737e8c5 commit 43f964a

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

airbyte-webapp/src/components/login/SimpleAuthLoginForm/SimpleAuthLoginForm.tsx

+8-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,14 @@ export const SimpleAuthLoginForm: React.FC = () => {
6262
<Box mt="2xl">
6363
<FlexContainer justifyContent="center">
6464
<Text color="red" align="center">
65-
{loginError === "invalid-credentials" && <FormattedMessage id="login.failed" />}
65+
{loginError === "invalid-credentials" && (
66+
<FormattedMessage
67+
id="login.failed"
68+
values={{
69+
link: (children) => <ExternalLink href={links.ossAuthentication}>{children}</ExternalLink>,
70+
}}
71+
/>
72+
)}
6673
{loginError === "missing-cookie" && (
6774
<FormattedMessage
6875
id="login.likelyMissingCookie"

airbyte-webapp/src/core/utils/links.ts

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export const links = {
5858
schemaChangeManagement: `${BASE_DOCS_LINK}/using-airbyte/schema-change-management`,
5959
apiAccess: `${BASE_DOCS_LINK}/using-airbyte/configuring-api-access`,
6060
deployingViaHttp: `${BASE_DOCS_LINK}/using-airbyte/getting-started/oss-quickstart#running-over-http`,
61+
ossAuthentication: `${BASE_DOCS_LINK}/deploying-airbyte/integrations/authentication`,
6162
} as const;
6263

6364
export type OutboundLinks = typeof links;

airbyte-webapp/src/locales/en.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@
573573
"connection.saveWithoutRefresh.description": "Note: If you do not refresh the affected streams, unexpected behavior may occur",
574574

575575
"connection.clearDataRecommended": "Clear streams recommended",
576-
"connection.clearDataHint": "Due to changes in the stream configuration, we recommend clearing the affected streams. This will delete data in the destination for those streams. Please sync after clearing to bring your data up to date.",
576+
"connection.clearDataHint": "Due to changes in the stream configuration, we recommend clearing the affected streams. This will delete data in the destination for those streams. Please sync after clearing to bring your data up to date.",
577577
"connection.saveWithDataClear": "Clear data from affected streams (recommended)",
578578
"connection.saveWithFullDataClear": "Clear all data (recommended)",
579579
"connection.saveWithClear": "Save configuration and clear streams (recommended)",
@@ -787,7 +787,7 @@
787787
"connectionAutoDisabledReason.WORKSPACE_IS_DELINQUENT": "Airbyte disabled the connection due to a billing issue. Resolve your billing status to re-enable the connection.",
788788
"connectionAutoDisabledReason.SCHEMA_CHANGE_AUTO_PROPAGATE": "Airbyte disabled the connection automatically due to schema changes.",
789789

790-
"connection.actions.error": "There was an error starting this job. Please try again.",
790+
"connection.actions.error": "There was an error starting this job. Please try again.",
791791
"connection.actions.refreshData": "Refresh your data",
792792
"connection.actions.refreshConnection": "Refresh connection",
793793
"connection.actions.refreshData.runningJobTooltip": "Cannot refresh data during a running sync",
@@ -797,7 +797,7 @@
797797

798798
"connection.actions.refreshData.description": "Refreshing your data will replace all data in your destination by reloading all data from the source.",
799799
"connection.actions.refreshData.confirm.title": "Are you sure you want to refresh this connection?",
800-
"connection.actions.refreshData.affectedStreamsList.title": "This action will refresh the following {affected} / {total} enabled streams. It will also sync all enabled streams:",
800+
"connection.actions.refreshData.affectedStreamsList.title": "This action will refresh the following {affected} / {total} enabled streams. It will also sync all enabled streams:",
801801
"connection.actions.refreshData.affectedStreamsList.seeMore": "+ See {count} more streams",
802802
"connection.actions.refreshStream.description": "A refresh pulls all historical data from the source. During the refresh, all existing sync schedules will be paused until the refresh is complete.",
803803
"connection.actions.refreshStream.description.note": "<b>Note:</b> A refresh will also sync all enabled streams in the connection. This can incur additional costs to load the data into the destination.",
@@ -1265,7 +1265,7 @@
12651265
"credits.maxCreditsError": "The maximum credit purchase is {maximum} credits.",
12661266
"credits.checkoutModalTitle": "Select credit quantity",
12671267
"credits.checkout": "Checkout",
1268-
"credits.checkout.creditExpiration": "Credits are valid for 12 months. Visit our <lnk>pricing page</lnk> to learn more.",
1268+
"credits.checkout.creditExpiration": "Credits are valid for 12 months. Visit our <lnk>pricing page</lnk> to learn more.",
12691269
"credits.aboveMaxCredits": "To buy large quantities of credits, talk to our <lnk>Sales team</lnk>.",
12701270
"credits.numberOfCredits": "Number of credits",
12711271
"credits.pricePerCredit": "Price per credit",
@@ -1831,7 +1831,7 @@
18311831

18321832
"jobHistory.logs.title": "Logs: {connectionName}",
18331833
"jobHistory.logs.noLogs": "No logs",
1834-
"jobHistory.logs.noAttempts": "An unknown error prevented this job from generating any attempts. No logs are available.",
1834+
"jobHistory.logs.noAttempts": "An unknown error prevented this job from generating any attempts. No logs are available.",
18351835
"jobHistory.logs.nextMatchLabel": "Jump to next match",
18361836
"jobHistory.logs.previousMatchLabel": "Jump to previous match",
18371837
"jobHistory.logs.downloadLogs": "Download logs",
@@ -1870,7 +1870,7 @@
18701870
"login.haveAccount": "Already have an account?",
18711871
"login.noAccount": "Don’t have an account?",
18721872
"login.login": "Log in",
1873-
"login.failed": "Invalid username or password",
1873+
"login.failed": "Invalid username or password. <link>Learn more.</link>",
18741874
"login.likelyMissingCookie": "Your credentials were correct, but the server failed to set a cookie. You appear to have deployed over HTTP. Make sure you have <link>disabled secure cookies</link>.",
18751875
"login.getUserFailed": "Failed to get user after login. Check the network tab for more details.",
18761876
"login.signup": "Sign up",

0 commit comments

Comments
 (0)