Skip to content

Commit feb910c

Browse files
authored
Merge pull request #2067 from HarshMN2345/fix-SER-7-Missing-padding-below-oauth-callback
2 parents cf3d2a8 + c2e23cc commit feb910c

File tree

9 files changed

+27
-45
lines changed

9 files changed

+27
-45
lines changed

src/routes/(console)/project-[region]-[project]/auth/(providers)/appleOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@
6767
<Alert.Inline status="info">
6868
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
6969
</Alert.Inline>
70-
<div>
71-
<p>URI</p>
72-
<CopyInput
73-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
74-
</div>
70+
<CopyInput
71+
label="URI"
72+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
7573
<svelte:fragment slot="footer">
7674
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
7775
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/auth0OAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@
7171
<Alert.Inline status="info">
7272
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
7373
</Alert.Inline>
74-
<div>
75-
<p>URI</p>
76-
<CopyInput
77-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
78-
</div>
74+
<CopyInput
75+
label="URI"
76+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
7977
<svelte:fragment slot="footer">
8078
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
8179
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/authentikOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,9 @@
7575
<Alert.Inline status="info">
7676
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
7777
</Alert.Inline>
78-
<div>
79-
<p>URI</p>
80-
<CopyInput
81-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
82-
</div>
78+
<CopyInput
79+
label="URI"
80+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
8381
<svelte:fragment slot="footer">
8482
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
8583
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/gitlabOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@
7070
<Alert.Inline status="info">
7171
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
7272
</Alert.Inline>
73-
<div>
74-
<p>URI</p>
75-
<CopyInput
76-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
77-
</div>
73+
<CopyInput
74+
label="URI"
75+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
7876
<svelte:fragment slot="footer">
7977
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
8078
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/googleOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@
6565
To complete the setup, create an OAuth2 client ID with "Web application" as the application
6666
type, then add this redirect URI to your {provider.name} configuration.
6767
</Alert.Inline>
68-
<div>
69-
<p>URI</p>
70-
<CopyInput
71-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
72-
</div>
68+
<CopyInput
69+
label="URI"
70+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
7371

7472
<svelte:fragment slot="footer">
7573
<Button secondary on:click={() => (provider = null)}>Cancel</Button>

src/routes/(console)/project-[region]-[project]/auth/(providers)/mainOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@
6565
<Alert.Inline status="info">
6666
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
6767
</Alert.Inline>
68-
<div>
69-
<p>URI</p>
70-
<CopyInput
71-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
72-
</div>
68+
<CopyInput
69+
label="URI"
70+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
7371
<svelte:fragment slot="footer">
7472
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
7573
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/microsoftOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@
7272
<Alert.Inline status="info">
7373
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
7474
</Alert.Inline>
75-
<div>
76-
<p>URI</p>
77-
<CopyInput
78-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
79-
</div>
75+
<CopyInput
76+
label="URI"
77+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
8078
<svelte:fragment slot="footer">
8179
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
8280
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/oidcOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,9 @@
109109
<Alert.Inline status="info">
110110
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
111111
</Alert.Inline>
112-
<div>
113-
<p>URI</p>
114-
<CopyInput
115-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
116-
</div>
112+
<CopyInput
113+
label="URI"
114+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
117115
<svelte:fragment slot="footer">
118116
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
119117
<Button

src/routes/(console)/project-[region]-[project]/auth/(providers)/oktaOAuth.svelte

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@
8282
<Alert.Inline status="info">
8383
To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
8484
</Alert.Inline>
85-
<div>
86-
<p>URI</p>
87-
<CopyInput
88-
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
89-
</div>
85+
<CopyInput
86+
label="URI"
87+
value={`${getApiEndpoint(page.params.region)}/account/sessions/oauth2/callback/${provider.key}/${projectId}`} />
9088
<svelte:fragment slot="footer">
9189
<Button secondary on:click={() => (provider = null)}>Cancel</Button>
9290
<Button

0 commit comments

Comments
 (0)