File tree Expand file tree Collapse file tree 4 files changed +29
-8
lines changed
pages/ApplicationDetails/ApplicationDetailsContent/EndpointsAndCredentials
phrases/src/locales/en/translation/admin-console Expand file tree Collapse file tree 4 files changed +29
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @logto/console " : minor
3
+ " @logto/phrases " : minor
4
+ ---
5
+
6
+ feat(console): display jwks uri on application details page
Original file line number Diff line number Diff line change 1
1
export const openIdProviderConfigPath = 'oidc/.well-known/openid-configuration' ;
2
2
export const openIdProviderPath = 'oidc' ;
3
+ export const openIdProviderJwksPath = 'oidc/jwks' ;
Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ import CaretUp from '@/assets/icons/caret-up.svg?react';
15
15
import CirclePlus from '@/assets/icons/circle-plus.svg?react' ;
16
16
import Plus from '@/assets/icons/plus.svg?react' ;
17
17
import FormCard from '@/components/FormCard' ;
18
- import { openIdProviderConfigPath , openIdProviderPath } from '@/consts/oidc' ;
18
+ import {
19
+ openIdProviderConfigPath ,
20
+ openIdProviderJwksPath ,
21
+ openIdProviderPath ,
22
+ } from '@/consts/oidc' ;
19
23
import { AppDataContext } from '@/contexts/AppDataProvider' ;
20
24
import Button from '@/ds-components/Button' ;
21
25
import CopyToClipboard from '@/ds-components/CopyToClipboard' ;
@@ -117,13 +121,22 @@ function EndpointsAndCredentials({
117
121
</ FormField >
118
122
) }
119
123
{ tenantEndpoint && (
120
- < FormField title = "application_details.issuer_endpoint" >
121
- < CopyToClipboard
122
- displayType = "block"
123
- value = { applyCustomDomain ( appendPath ( tenantEndpoint , openIdProviderPath ) . href ) }
124
- variant = "border"
125
- />
126
- </ FormField >
124
+ < >
125
+ < FormField title = "application_details.issuer_endpoint" >
126
+ < CopyToClipboard
127
+ displayType = "block"
128
+ value = { applyCustomDomain ( appendPath ( tenantEndpoint , openIdProviderPath ) . href ) }
129
+ variant = "border"
130
+ />
131
+ </ FormField >
132
+ < FormField title = "application_details.jwks_uri" >
133
+ < CopyToClipboard
134
+ displayType = "block"
135
+ value = { applyCustomDomain ( appendPath ( tenantEndpoint , openIdProviderJwksPath ) . href ) }
136
+ variant = "border"
137
+ />
138
+ </ FormField >
139
+ </ >
127
140
) }
128
141
{ showMoreEndpoints && (
129
142
< >
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const application_details = {
23
23
description_placeholder : 'Enter your application description' ,
24
24
config_endpoint : 'OpenID provider configuration endpoint' ,
25
25
issuer_endpoint : 'Issuer endpoint' ,
26
+ jwks_uri : 'JWKS URI' ,
26
27
authorization_endpoint : 'Authorization endpoint' ,
27
28
authorization_endpoint_tip :
28
29
"The endpoint to perform authentication and authorization. It's used for OpenID Connect <a>Authentication</a>." ,
You can’t perform that action at this time.
0 commit comments