Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jans-cli-tui): save client summary #7153

Merged
merged 2 commits into from Dec 20, 2023

Conversation

devrimyatar
Copy link
Contributor

@devrimyatar devrimyatar commented Dec 19, 2023

closes #7119

When you are on cleints list container, you will see sehl text "Press key s to save client summary" on bottom bar:

image

If you press key s you will have a file save dialog

image

Sample saved file:

dn: "inum=2000.6bca3291-ef90-45df-9eb5-1f2693b5f708,ou=clients,o=jans"
deletable: false
clientSecret: "LW0zHkIveABn"
frontChannelLogoutUri: "http://localhost:4100/logout"
frontChannelLogoutSessionRequired: false
redirectUris: ["https://myjans.local/admin", "http://localhost:4100"]
responseTypes: ["code"]
grantTypes: ["authorization_code", "refresh_token", "client_credentials", "urn:ietf:params:oauth:grant-type:device_code"]
applicationType: "web"
clientName: "Jans TUI Client"
clientNameLocalized: {"values": {}}
logoUriLocalized: {"values": {}}
clientUriLocalized: {"values": {}}
policyUriLocalized: {"values": {}}
tosUriLocalized: {"values": {}}
subjectType: "pairwise"
idTokenSignedResponseAlg: "RS256"
userInfoSignedResponseAlg: "RS256"
tokenEndpointAuthMethod: "client_secret_basic"
postLogoutRedirectUris: ["http://localhost:4100", "https://myjans.local/admin"]
scopes: ["jans_stat", "offline_access", "profile", "email", "openid", "https://jans.io/auth/ssa.admin"]
trustedClient: true
persistClientAuthorizations: true
includeClaimsInIdToken: false
accessTokenLifetime: 2592000
customAttributes: []
customObjectClasses: ["top"]
rptAsJwt: false
accessTokenAsJwt: false
accessTokenSigningAlg: "RS256"
disabled: false
attributes: {"tlsClientAuthSubjectDn": "", "runIntrospectionScriptBeforeJwtCreation": false, "keepClientAuthorizationAfterExpiration": false, "allowSpontaneousScopes": false, "spontaneousScopes": [], "spontaneousScopeScriptDns": [], "updateTokenScriptDns": ["inum=2D3E.5A04,ou=scripts,o=jans"], "backchannelLogoutUri": [], "backchannelLogoutSessionRequired": false, "additionalAudience": [], "postAuthnScripts": [], "consentGatheringScripts": [], "introspectionScripts": [], "rptClaimsScripts": [], "ropcScripts": [], "parLifetime": 600, "requirePar": false, "dpopBoundAccessToken": false, "jansAuthSignedRespAlg": null, "jansAuthEncRespAlg": null, "jansAuthEncRespEnc": null, "jansSubAttr": null, "redirectUrisRegex": null, "jansAuthorizedAcr": [], "jansDefaultPromptLogin": false, "idTokenLifetime": null, "allowOfflineAccessWithoutConsent": null, "minimumAcrLevel": -1, "minimumAcrLevelAutoresolve": null, "additionalTokenEndpointAuthMethods": [], "minimumAcrPriorityList": [], "requestedLifetime": null, "evidence": null, "introspectionSignedResponseAlg": null, "introspectionEncryptedResponseAlg": null, "introspectionEncryptedResponseEnc": null}
displayName: "Jans TUI Client"
authenticationMethod: "client_secret_basic"
allAuthenticationMethods: ["client_secret_basic"]
baseDn: "inum=2000.6bca3291-ef90-45df-9eb5-1f2693b5f708,ou=clients,o=jans"
inum: "2000.6bca3291-ef90-45df-9eb5-1f2693b5f708"

Signed-off-by: Mustafa Baser <mbaser@mail.com>
@devrimyatar devrimyatar added comp-jans-cli-tui Component affected by issue or PR kind-feature Issue or PR is a new feature request labels Dec 19, 2023
Copy link

sonarcloud bot commented Dec 19, 2023

Quality Gate Passed Quality Gate passed for 'jans-cli'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@devrimyatar devrimyatar merged commit f017df3 into main Dec 20, 2023
2 checks passed
@devrimyatar devrimyatar deleted the jans-cli-tui-save-client-summary branch December 20, 2023 07:49
Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed for 'agama parent'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed for 'orm'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed for 'Fido2 API'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed for 'jans-core'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed for 'jans-config-api-parent'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

yurem pushed a commit that referenced this pull request Dec 21, 2023
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
devrimyatar added a commit that referenced this pull request Dec 30, 2023
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-cli-tui Component affected by issue or PR kind-feature Issue or PR is a new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat (TUI): Print Client Summary
3 participants