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): Support custom urls for Janssen services #7492

Open
wants to merge 10,000 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
3c75f94
chore(main): release jans-link 1.0.22-SNAPSHOT (#7465)
mo-auto Jan 22, 2024
8d33596
chore(main): release jans-fido2 1.0.22-SNAPSHOT (#7464)
mo-auto Jan 22, 2024
10f810c
chore(main): release jans-eleven 1.0.22-SNAPSHOT (#7463)
mo-auto Jan 22, 2024
935a7b7
chore(main): release jans-config-api 1.0.22-SNAPSHOT (#7462)
mo-auto Jan 22, 2024
43638d1
chore(main): release jans-core 1.0.22-SNAPSHOT (#7461)
mo-auto Jan 22, 2024
ae48f4a
chore(main): release jans-casa 1.0.22-SNAPSHOT (#7460)
mo-auto Jan 22, 2024
b633812
chore(main): release agama 1.0.22-SNAPSHOT (#7459)
mo-auto Jan 22, 2024
865289c
chore(main): release jans-bom 1.0.22-SNAPSHOT (#7458)
mo-auto Jan 22, 2024
e6d8566
chore(main): release jans-auth-server 1.0.22-SNAPSHOT (#7457)
mo-auto Jan 22, 2024
7893d98
chore: prepare 1.0.22 (#7488)
moabu Jan 22, 2024
9ee3c8c
feat: add Lock documentation (#7490)
yurem Jan 22, 2024
1de2893
ci: fix packages (#7496)
moabu Jan 23, 2024
9bf83b8
chore(deps): bump anchore/scan-action from 3.3.7 to 3.6.1 (#7498)
dependabot[bot] Jan 23, 2024
879f589
chore(deps): bump actions/setup-java from 3.13.0 to 4.0.0 (#7249)
dependabot[bot] Jan 23, 2024
c40f0c8
chore(deps): bump google-github-actions/release-please-action (#7251)
dependabot[bot] Jan 23, 2024
2529cf9
chore(deps): bump actions/setup-python from 4.7.1 to 5.0.0 (#7250)
dependabot[bot] Jan 23, 2024
51a152a
chore(deps): bump actions/dependency-review-action from 2.5.1 to 4.0.…
dependabot[bot] Jan 23, 2024
2fe08bf
chore(deps): bump ubuntu in /docker-jans-monolith (#7391)
dependabot[bot] Jan 23, 2024
a21908c
feat(jans-cli-tui): Support custom urls for Janssen services
davispuh Jan 17, 2024
a876f83
chore(deps): bump korthout/backport-action from 1.4.0 to 2.4.0 (#7505)
dependabot[bot] Jan 23, 2024
bb3e30d
chore(deps): bump cryptography from 38.0.3 to 42.0.0 in /demos/jans-t…
dependabot[bot] Jan 23, 2024
d77f936
chore(deps): bump actions/cache from 3.3.2 to 4.0.0 (#7510)
dependabot[bot] Jan 23, 2024
f9f93c3
test(jans-auth-server): client_credentials jmeter script #7307 (#7308)
yuriyz Jan 23, 2024
5167f8c
chore(deps): bump actions/download-artifact from 3.0.2 to 4.1.1 (#7509)
dependabot[bot] Jan 23, 2024
4f6dd37
chore(deps): bump github/codeql-action from 2.2.4 to 3.23.1 (#7508)
dependabot[bot] Jan 23, 2024
b9436bb
chore(deps): bump docker/setup-qemu-action (#7507)
dependabot[bot] Jan 23, 2024
9a6dc39
chore(deps): bump actions/setup-node from 3.8.2 to 4.0.1 (#7506)
dependabot[bot] Jan 23, 2024
ef01559
fix(keycloak-integration): fix build issues keycloak integration #751…
uprightech Jan 23, 2024
36653a7
feat: allow to persist Map as JSON in MySQL DB #7515 (#7516)
yurem Jan 23, 2024
e8ddf4a
fix(jans-linux-setup): setup is attampting to connect ldap for any ba…
devrimyatar Jan 24, 2024
9ccad33
fix(jans-linux-setup): Jans KC install option (#7521)
devrimyatar Jan 24, 2024
0f0d78f
chore(deps): bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#7530)
dependabot[bot] Jan 24, 2024
a758c66
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0 (#7531)
dependabot[bot] Jan 24, 2024
c8c1b13
Merge branch 'main' into urls
moabu Jan 24, 2024
44c215a
chore(deps): bump actions/upload-artifact from 4.0.0 to 4.3.0 (#7529)
dependabot[bot] Jan 24, 2024
223c852
chore(deps): bump Mattraks/delete-workflow-runs from 2.0.5 to 2.0.6 (…
dependabot[bot] Jan 24, 2024
4a41d3d
chore(deps): bump EnricoMi/publish-unit-test-result-action (#7528)
dependabot[bot] Jan 24, 2024
e2e6210
chore(deps): bump SonarSource/sonarcloud-github-action (#7532)
dependabot[bot] Jan 24, 2024
741ae69
feat: allow to persist Map as JSON in MySQL DB #7515 (#7535)
yurem Jan 24, 2024
974d220
fix: fix typos in SG script (#7546)
yurem Jan 25, 2024
f2d7a26
feat(jans-cli-tui): hints for client list (#7499)
devrimyatar Jan 25, 2024
fbd0601
fix(jans-cli-tui): Saml KC names (#7534)
devrimyatar Jan 25, 2024
18568e5
feat: ORM should store Map<?, ?> defined in benas with @JsonObject as…
yurem Jan 25, 2024
b79866a
feat(jans-auth-server): Transaction Tokens support #6291 (#7212)
yuriyz Jan 25, 2024
3af1e78
fix(jans-auth-server): compilation failure after merge (#7554)
yuriyz Jan 25, 2024
a906255
feat(jans-linux-setup): unique indexes for uid and mail (#7555)
devrimyatar Jan 25, 2024
7eaed77
fix(jans-linux-setup): schema of saml client's redirect uris (#7503)
devrimyatar Jan 26, 2024
b7d37c9
fix(jans-cli-tui): name of idp is read-only after created (#7552)
devrimyatar Jan 26, 2024
a88da12
feat: ORM should store Map<?, ?> defined in benas with @JsonObject as…
yurem Jan 26, 2024
d1be348
feat: override JSON types for sql tables (#7566)
yurem Jan 26, 2024
b57de8f
chore(deps): bump korthout/backport-action from 2.4.0 to 2.4.1 (#7541)
dependabot[bot] Jan 29, 2024
2eb603e
fix(jans-pycloudlib): resolve transform value for json type in couchb…
iromli Jan 29, 2024
e673e35
feat(jans-linux-setup): parameterize opa host and port (#7504)
devrimyatar Jan 30, 2024
892e358
chore(jans-eleven): removed jans-eleven from jans #7111 (#7585)
yuriyz Jan 30, 2024
e68dc11
Jans linux setup 7592 (#7593)
devrimyatar Jan 31, 2024
17874d8
docs(install): add notes for uninstallation of persistence (#7594)
ossdhaval Jan 31, 2024
7c0684a
chore(deps): bump anchore/scan-action from 3.6.1 to 3.6.3 (#7599)
dependabot[bot] Jan 31, 2024
06b1a7a
fix(config-api): removed idp & sp metadatafile pattern & app s… (#7569)
pujavs Jan 31, 2024
7ec25f0
feat(config-api): user mgt plugin changes to handle inactive claims -…
pujavs Feb 1, 2024
07b0728
feat(jans-cli-tui): custom validation for attrbiutes (#7602)
devrimyatar Feb 1, 2024
dcc3abd
feat(jans-cli-tui): update to prompt_toolkit v3 (#7491)
davispuh Feb 1, 2024
e35963f
fix(jans-linux-setup): update prompt-toolkit 3.0.43 (#7604)
devrimyatar Feb 1, 2024
fa728cf
docs(config-api): removed duplicate property (#7606)
pujavs Feb 1, 2024
fc3f331
feat(jans-cli-tui): application versions (#7607)
devrimyatar Feb 1, 2024
985f917
test(jans-auth-server): fixed TxTokenHttpTest failure on jenkins #761…
yuriyz Feb 1, 2024
c759441
fix(jans-auth-server): client secret printed on logs (#7608)
yuriyz Feb 1, 2024
0437a56
fix: agama Lab's tab closing automatically if same window has tarp op…
duttarnab Feb 2, 2024
466d2a7
refactor: redesign web-pages for Janssen #1302 (#7258)
jv18creator Feb 2, 2024
b3f6834
fix: revert prompt-toolkit upgrade (#7635)
devrimyatar Feb 3, 2024
46bd3fd
feat(jans): add support for passing custom istio gateways (#7617)
misba7 Feb 5, 2024
2517115
chore: provisioning keycloak and jans-lock deployment (#7518)
iromli Feb 5, 2024
b783f0d
chore(deps): bump ubuntu in /docker-jans-monolith (#7624)
dependabot[bot] Feb 5, 2024
794416c
feat(jans-fido2): generation assertion options without username (#7573)
Milton-Ch Feb 5, 2024
2541bb1
fix: for authorization with multiple redirects the one with redirect_…
duttarnab Feb 5, 2024
243919d
fix(jans-auth): configuration changes not taking effect #7631 (#7649)
yuremm Feb 6, 2024
e7123d1
feat(jans-cli-tui): enhance help (#7640)
devrimyatar Feb 6, 2024
8cb6892
fix(charts): add featureflag for cn-istio-ingress subchart (#7656)
iromli Feb 6, 2024
ce6582f
feat(jans-auth-server): improved session lifetime properties #5275 (#…
yuriyz Feb 6, 2024
7732f7c
docs(jans-link): refactor `jans-link` documents (#7544)
ossdhaval Feb 6, 2024
78d2f07
chore: removed unused plugin (#7660)
yurem Feb 6, 2024
419a0e7
fix(keycloak-integration): incorrect redirect url to janssen from aut…
uprightech Feb 6, 2024
bd03b6b
chore: remove unused plugin (#7664)
yurem Feb 6, 2024
8401740
fix(docker-jans): add missing dynamic config (#7672)
iromli Feb 7, 2024
8f5d6a9
fix: corrected array java.lang.IndexOutOfBoundsException (#7670)
duttarnab Feb 7, 2024
ca11258
chore: prepare1.0.23 dev and SNAPSHOT (#7654)
moabu Feb 8, 2024
0df6e33
chore: move jans-auth base configuration to jans-core-service (#7673)
yurem Feb 8, 2024
fffb881
chore: move jans-auth base configuration to jans-core-service #7673 (…
yurem Feb 8, 2024
b1a3233
feat(jans-auth-server): changed backchannel_logout_uri list->string a…
yuriyz Feb 8, 2024
9dd27ae
docs(agama): change the file name (#7680)
ossdhaval Feb 8, 2024
0bee351
chore: change package name in custom scripts #7666 (#7684)
jgomer2001 Feb 9, 2024
0f62d10
docs(database): remove cb schema docs placeholder file (#7685)
ossdhaval Feb 9, 2024
fe4c000
feat(jans-auth-server): added configurable option to put all tokens i…
yuriyz Feb 9, 2024
d4f90ab
docs: misc updates on agama docs #7682 (#7683)
jgomer2001 Feb 9, 2024
6bfdf8c
fix(jans-linux-setup): remove server word from casa in installer prom…
devrimyatar Feb 11, 2024
ea90e2a
fix(jans-linux-setup): disable gpg checks for installing suse package…
devrimyatar Feb 12, 2024
76b63e5
feat(jans-auth-server): authz challenge should not require client_id …
yuriyz Feb 13, 2024
157925a
docs(config guide): move `Agama CLI` and remove `SCIM CLI` (#7693)
ossdhaval Feb 13, 2024
02cdba4
chore: refactor inbound identity project #7702 (#7709)
jgomer2001 Feb 13, 2024
2b4333e
fix(config-api): user mgt attribute validation implementation (#7710)
pujavs Feb 14, 2024
e2a6ee0
refactor(jans-cli-tui): Rewrite admin-ui plugin (#7706)
devrimyatar Feb 14, 2024
15fdacb
chore: prepare next version 1.1.0 (#7707)
moabu Feb 14, 2024
0df5213
fix(jans-pycloudlib): set sql_mode while connecting to mysql (#7713)
iromli Feb 14, 2024
9a929ed
chore(docker-jans-casa): sync extension scripts for Casa (#7715)
iromli Feb 14, 2024
3c5af5b
fix(docker-jans-certmanager): resolve key_ops_type created on key rot…
iromli Feb 14, 2024
fcaed35
chore: fix versioning
moabu Feb 14, 2024
e0b62ca
fix(jans-cli-tui): default display function for JansVerticalNav (#7718)
devrimyatar Feb 14, 2024
03c4053
fix(jans-cli-tui): disable plugin on TUI if not deployed on server (#…
devrimyatar Feb 14, 2024
761cc34
fix(jans-auth): npe during client registration #7703 (#7722)
yuriyz Feb 14, 2024
27e8ec1
docs(jans-cli): update cli readme (#7730)
ossdhaval Feb 14, 2024
6a70d1c
ci(dockerbuild): enhance speed of workflow (#7740)
moabu Feb 15, 2024
f51a491
fix(jans-cli-tui): log command for delete operation (#7737)
devrimyatar Feb 15, 2024
5ce3c5e
feat(jans-cli-tui): keybindings <d> and <delete> to delete item, <v> …
devrimyatar Feb 16, 2024
42cf5fe
fix(jans-linux-setup): removed redundant IDP directories (#7275)
devrimyatar Feb 16, 2024
f6231d7
feat(jans-cli-tui): metadata location and other fields (#7630)
devrimyatar Feb 16, 2024
f4c747c
chore: added ORM API to get attribute type and check if exists (#7734)
yurem Feb 16, 2024
53af8cc
feat: ldap ORM shoould ignore lower case statement in filters #7749 (…
yurem Feb 16, 2024
d3c93b1
ci(codeowners): update CODEOWNERS (#7756)
moabu Feb 16, 2024
6337fdb
fix: jansCodeChallengeHash should be defiend as Integer (#7744)
yurem Feb 16, 2024
83eb48f
chore: update OCI image dependencies (#7760)
iromli Feb 16, 2024
6e9339b
feat(config-api): user management search enhancement (#7761)
pujavs Feb 19, 2024
78cc0d7
feat(jans-auth-server): rely on end_session feature flag value when r…
yuriyz Feb 19, 2024
eeadf69
chore(docker-jans): add prefix jans to stdout logs (#7762)
iromli Feb 19, 2024
218d5ea
ci(dockerbuild): docker build speed (#7741)
moabu Feb 19, 2024
9a10cdf
ci(build-docker-builds): fix dockerbuild (#7773)
moabu Feb 19, 2024
1f01591
feat(jans-pycloudlib): allow configurable Vault KV and AppRole paths …
iromli Feb 19, 2024
2d47c84
docs(scarf): integration with Scarf Pixel (#7765)
ossdhaval Feb 20, 2024
fc99a49
fix: fix link deps (#7787)
yurem Feb 20, 2024
dbfd454
fix(jans-cli-tui): documentation link (#7788)
devrimyatar Feb 20, 2024
f673e7f
feat: add SESSION_TIMEOUT_IN_MINUTES to admin-ui configuration in per…
duttarnab Feb 21, 2024
c9ce865
feat(config-api): kc link plugin endpoint (#7794)
pujavs Feb 21, 2024
f844257
fix(jans-cli-tui): List types (#7798)
devrimyatar Feb 21, 2024
341398b
fix(jans-linux-setup): post-setup config-api plugin for jans-link (#7…
devrimyatar Feb 22, 2024
37721e7
feat(config-api): saml metedata elements save (#7804)
pujavs Feb 22, 2024
35b1a13
feat(jans-linux-setup): config-api kc-link-plugin (#7811)
devrimyatar Feb 22, 2024
67f45f1
fix(jans-auth-server): introspection endpoint must return 401 when OR…
yuriyz Feb 22, 2024
afbc4e6
test(jans-auth-server): after login page re-design DisplaysLogoInLogi…
yuriyz Feb 22, 2024
8c186af
feat: allow to override ORM connection properties #7816 (#7820)
yurem Feb 22, 2024
af62693
feat: allow to override ORM connection properties #7816 (#7821)
yurem Feb 22, 2024
732d126
feat: shift SESSION_TIMEOUT_IN_MINUTES to admin-ui configuration in p…
duttarnab Feb 22, 2024
e8bec27
fix(jans-cli-tui): display error when saving user (#7778)
devrimyatar Feb 23, 2024
3287863
feat(jans-linux-setup): opa logs to file (#7826)
devrimyatar Feb 23, 2024
50318e2
feat: added SESSION_TIMEOUT_IN_MINUTES to admin-ui configuration in p…
duttarnab Feb 23, 2024
6c1582d
fix(docs): changes to add content in script block instead of removing…
ossdhaval Feb 23, 2024
4a725ff
feat: backend changes to implement short codes in webhooks to pass dy…
duttarnab Feb 26, 2024
0f6dfa3
feat(docker-jans): allow passing initial keys expiration time (#7850)
iromli Feb 26, 2024
f2f6660
fix: fix typo in index.jsp (#7848)
yurem Feb 26, 2024
2699543
chore(docker-jans): update role scope mapping and plugin (#7824)
iromli Feb 27, 2024
f79b11d
docs(keycloak-integration): keycloak saml sso documentation #7840 (#…
uprightech Feb 27, 2024
1fa7d2d
chore: misc project updates #7802 (#7851)
jgomer2001 Feb 27, 2024
8dcfaef
feat: add config-api lock-config API, update message API (#7860)
yurem Feb 27, 2024
4d18f41
feat(jans-cli-tui): Jans Lock Configuration #7855 (#7864)
yurem Feb 27, 2024
7351e0c
feat(agama): add openId support to agama inbound identity project (#7…
jgomer2001 Feb 27, 2024
b13aa91
feat(jans-cli-tui): Jans Lock Configuration #7855 (#7866)
yurem Feb 27, 2024
3327195
feat(config-api): handled check for attribute validation (#7814)
pujavs Feb 27, 2024
e3d9407
feat(jans-linux-setup): jans lock installer (#7791)
devrimyatar Feb 27, 2024
ca0933a
feat(jans-linux-setup): lock-plugin (#7868)
devrimyatar Feb 28, 2024
1f744cd
fix(jans-auth-server): changed method HEAD to POST in validate ssa (#…
Milton-Ch Feb 28, 2024
6697185
fix(jans-linux-setup): prompt for http cert info (#7872)
devrimyatar Feb 28, 2024
232f808
feat(jans-fido2): add new unit test for assertion (#7854)
Milton-Ch Feb 28, 2024
acb10b1
fix: the audit log API in Admin UI is not protected by authorization …
duttarnab Feb 28, 2024
856da8d
feat(jans-cli-tui): Jans Lock Configuration #7855 (#7882)
yurem Feb 28, 2024
fb87d38
docs(deployment): note default DB for PROD and VM (#7890)
ossdhaval Feb 28, 2024
0ea56e1
feat(config-api): SAML TR enhacement for metadata field and filename …
pujavs Feb 29, 2024
6e9cbac
feat(jans-cli-tui): Jans KC Link Configuration (#7878)
devrimyatar Feb 29, 2024
37f63cc
feat: add configurable additional parameters in admin-ui configuratio…
duttarnab Feb 29, 2024
97aafe8
fix(jans-auth-server): requestUriParameterSupported and requestParame…
yuriyz Feb 29, 2024
595e705
fix: add Hashicorp Vault external secret manager (#7658)
misba7 Feb 29, 2024
9af0cb9
chore(docker-jans): sync assets to OCI images (#7906)
iromli Feb 29, 2024
c7c27ce
fix(jans-cli-tui): backend ldap server for jans-link (#7916)
devrimyatar Mar 1, 2024
728d8ec
chore(jans-bom): upgrade org.postgresql:postgresql from 42.6.0 to 42.…
yuriyz Mar 1, 2024
644b74d
docs(database): add instructions for passing DB properties dynamicall…
ossdhaval Mar 1, 2024
51d2f2f
chore(deps): update python libs in OCI images (#7910)
iromli Mar 1, 2024
b22b0a4
fix(config-api): SAML TR metadata validation, user mgt spec for error…
pujavs Mar 1, 2024
7226ec1
chore(deps): update java libs in OCI images (#7929)
iromli Mar 3, 2024
0f391ce
fix(charts): add missing jans-fido2 ingress (#7931)
iromli Mar 3, 2024
7601a39
fix(charts): add missing fido2Labels and fido2AdditionalAnnotations (…
iromli Mar 4, 2024
1403c12
ci(build-docker-builds): fix dockerbuild (#7945)
moabu Mar 4, 2024
afc6f39
feat: add feature to allow registration of multiple clients #7725 (#7…
duttarnab Mar 4, 2024
3a40be2
docs(jans-lock): add setup instructions (#7884)
SafinWasi Mar 4, 2024
0cbda29
feat(documentstore): modified to be used for asset endpoint and resol…
pujavs Mar 4, 2024
03c1ef6
docs: add details about TUI version screen (#7926)
ossdhaval Mar 5, 2024
bc1e004
fix: make loggers static fields #7948 (#7949)
jgomer2001 Mar 5, 2024
aff9246
fix(jans-cli-tui): check required fields for IDP (#7954)
devrimyatar Mar 5, 2024
a6cbca6
feat(jans-cli-tui): LOCK configuration (#7904)
devrimyatar Mar 5, 2024
315e07a
feat(jans-auth-server): clean up inactive clients (configurable clean…
yuriyz Mar 5, 2024
c7cd5fb
feat(jans-cli-tui): Jans Lock Configuration #7855 (#7885)
yurem Mar 5, 2024
1f99edc
docs(admin): minor edits to certificate install process (#7947)
ossdhaval Mar 6, 2024
6b0444b
fix: remove javadocs error logged during jenkins build #7969 (#7970)
duttarnab Mar 6, 2024
f93142c
Update README.md (#7975)
devrimyatar Mar 6, 2024
251bdf8
ci(CODEOWNERS): add codeowner (#7987)
moabu Mar 7, 2024
e139873
feat(jans-auth-server): added ability to propagate session from authz…
yuriyz Mar 7, 2024
a7ee8e7
fix(config-api): SAML TR fix for filename and user mgmt enhancement …
pujavs Mar 7, 2024
fc1e662
feat(jans-config-api): enhancements to saml api #7362 (#7989)
uprightech Mar 7, 2024
5240889
feat: jans Lock Configuration docs (#7997)
yurem Mar 7, 2024
3959ab1
fix(jans-cli-tui): keycloakLinkPollingInterval (#7996)
devrimyatar Mar 8, 2024
f66d4d4
feat(jans-config-api): enhancements to the saml api #7362 (#8001)
uprightech Mar 8, 2024
f57fd2d
fix(jans-cli-tui): operationId for saml tr (#8002)
devrimyatar Mar 8, 2024
10b99ef
fix(config-api): user attribute validation and SAML fixes
pujavs Mar 8, 2024
3828fa1
feat(jans-orm): print root cause when invalid json object is present …
yuriyz Mar 8, 2024
53ef338
fix(keycloak-integration): saml metadata parsing #7777 (#7862)
uprightech Mar 8, 2024
59d4cd5
feat: doc store update (#8009)
yurem Mar 8, 2024
ea200b0
fix(jans-cli-tui): required fields for SP (#7965)
devrimyatar Mar 11, 2024
29d489e
fix: issues found in tarp #8007 (#8011)
duttarnab Mar 11, 2024
7128760
fix(jans-cli-tui): display only agama project details (#7828)
devrimyatar Mar 11, 2024
254b1a5
perf(jans-pycloudlib): handle google secret versioning (#7971)
iromli Mar 11, 2024
5fb537b
fix: agama inbound identity project not reloading mappings (#8017)
jgomer2001 Mar 11, 2024
463ad4e
chore: update pycloudlib and fix aio cronjob (#8020)
iromli Mar 11, 2024
39743bd
fix: bugs in admin-ui webhook #8018 (#8019)
duttarnab Mar 11, 2024
723f670
fix(jans-linux-setup): write hostname to /etc/hosts (#8024)
devrimyatar Mar 11, 2024
ca74155
chore(docker): sync assets (#8026)
iromli Mar 12, 2024
679c8b9
fix(config-api) code optimization and SMAL IDP delete scope rectifica…
pujavs Mar 12, 2024
51cc830
feat(documentstore): should throw relevant exception rather than dige…
shekhar16 Mar 12, 2024
09bbd66
fix: : bugs in admin-ui webhook #8018 (#8038)
duttarnab Mar 12, 2024
2796e36
fix(jans-cli-tui): re-enable agama project config management (#8042)
devrimyatar Mar 12, 2024
e3517d9
chore(jans-auth-server): fixed typo build-oxauth-fips-war #8036 (#8037)
yuriyz Mar 13, 2024
3dcdd0d
chore(deps): bump github/codeql-action from 3.23.1 to 3.24.7 (#8043)
dependabot[bot] Mar 13, 2024
c7b4dd9
docs(jans-cli): upload test agama project (#8033)
devrimyatar Mar 13, 2024
2fc4953
fix(javadoc): fix javadoc generation due to `doclint` warnings (#8054)
ossdhaval Mar 14, 2024
54beb14
fix(terraform-provider-jans): update terraform module (#8055)
moabu Mar 14, 2024
3a61685
feat(docker): allow custom sql_data_types (#8049)
iromli Mar 14, 2024
a8e6bbf
chore(deps): update pycloudlib requirement (#8058)
iromli Mar 14, 2024
aeba80d
fix(jans-keycloak-integration): build issues due to api name change #…
uprightech Mar 14, 2024
bc07d78
chore(release): release 1.1.0 (#8065)
moabu Mar 14, 2024
cdb5e8f
feat: health-check should return starting if external authentication …
yurem Mar 15, 2024
dea8651
chore(release): prep work for 1.1.1-SNAPSHOT and dev (#8072)
moabu Mar 15, 2024
9be78e4
refactor(docs): update jans link naming in the docs and add to README…
ossdhaval Mar 18, 2024
2b3cf2e
fix(jans-cli-tui): if adminui permissons added do not display error (…
devrimyatar Mar 19, 2024
293c44f
docs(kc-link): KC Link configuration steps (#8093)
ossdhaval Mar 20, 2024
60310a0
feat(config-api): asset mgt endpoint (#8096)
pujavs Mar 21, 2024
9ec7177
perf(jans-pycloudlib): destroy old secret version instead of disable …
iromli Mar 21, 2024
3253b68
feat(jans-casa): implement account linking plugin (#8091)
jgomer2001 Mar 21, 2024
96a4ec8
docs: add missing release (#8074)
moabu Mar 21, 2024
fe681fd
chore(deps): sync image assets and dependencies (#8119)
iromli Mar 21, 2024
e00f33a
feat(fido2): allow to update device data in SG authentication respons…
yurem Mar 21, 2024
cb369de
feat(jans-auth-server): support for prompt=create #7899 (#8035)
yuriyz Mar 22, 2024
20a6067
docs: fix versions (#8125)
moabu Mar 22, 2024
5e63fbb
fix: update deprecated scim sample script (#8130)
jgomer2001 Mar 22, 2024
a6b348b
fix(jans-cli-tui): typo in agama help popup (#8135)
devrimyatar Mar 25, 2024
8ce1051
fix(jans-cli-tui): user management fixes (#8136)
devrimyatar Mar 25, 2024
1340e26
feat: create help button for tarp #8132 (#8133)
duttarnab Mar 25, 2024
b33a6eb
feat(fido2): allow to update device data in SG authentication respons…
yurem Mar 25, 2024
a99b3f1
fix(docs): add new OIDC SPEC to supported list (#8150)
ossdhaval Mar 26, 2024
d1a7040
fix(docs): fix navigation for account linking (#8147)
ossdhaval Mar 26, 2024
044290a
feat: add java memory arguments (#8115)
misba7 Mar 26, 2024
0bec043
chore: sync SG script wrt latest updates (#8151)
jgomer2001 Mar 27, 2024
1bf5778
docs(jans-casa): fix typo in accounts linking plugin (#8156)
jgomer2001 Mar 27, 2024
fd4a16d
fix(jans-cli-tui): update plugin docs list (#8160)
devrimyatar Mar 27, 2024
d87e913
docs(system-requirements): update values centrally (#8122)
misba7 Mar 28, 2024
a5f589d
refactor(docker-jans): unify mod_context.py scripts in OCI images (#8…
iromli Mar 28, 2024
f75d1a4
Merge branch 'main' into urls
moabu Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: sync SG script wrt latest updates (#8151)
chore: sync SG script wrt latest updates #8123

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
  • Loading branch information
jgomer2001 and moabu authored Mar 27, 2024
commit 0bec04360b1ddb7b0a8380c58fc67727335ae2e8
34 changes: 19 additions & 15 deletions jans-casa/extras/casa-external_super_gluu.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from java.time.format import DateTimeFormatter
from io.jans.as.model.configuration import AppConfiguration
from io.jans.as.server.service.custom import CustomScriptService
from io.jans.orm.model.fido2 import Fido2DeviceNotificationConf

import sys
import json
Expand All @@ -51,6 +52,7 @@ def __init__(self, currentTimeMillis):

def init(self, customScript, configurationAttributes):
print "Super-Gluu. Initialization"
self.debugMode = False

if not configurationAttributes.containsKey("authentication_mode"):
print "Super-Gluu. Initialization. Property authentication_mode is mandatory"
Expand Down Expand Up @@ -763,8 +765,8 @@ def initGluuPushNotificationService(self, configurationAttributes):
print "Super-Gluu. Initialize Gluu notification services. Created Android notification service"

if ios_creds["enabled"]:
self.pushAndroidService = gluuClient
self.gluu_ios_platform_id = android_creds["platform_id"]
self.pushAppleService = gluuClient
self.gluu_ios_platform_id = ios_creds["platform_id"]
print "Super-Gluu. Initialize Gluu notification services. Created iOS notification service"

enabled = self.pushAndroidService != None or self.pushAppleService != None
Expand Down Expand Up @@ -822,12 +824,11 @@ def sendPushNotificationImpl(self, client_redirect_uri, user, super_gluu_request

platform = device_data.getPlatform()
push_token = device_data.getPushToken()
debug = False

if StringHelper.equalsIgnoreCase(platform, "ios") and StringHelper.isNotEmpty(push_token):
# Sending notification to iOS user's device
if self.pushAppleService == None:
print "Super-Gluu. Send push notification. Apple native push notification service is not enabled"
print "Super-Gluu. Send push notification. Apple push notification service is not enabled"
else:
send_notification = True

Expand Down Expand Up @@ -859,11 +860,11 @@ def sendPushNotificationImpl(self, client_redirect_uri, user, super_gluu_request
apple_push_platform = PushPlatform.APNS_SANDBOX

send_notification_result = pushSnsService.sendPushMessage(self.pushAppleService, apple_push_platform, targetEndpointArn, push_message, None)
if debug:
if self.debugMode:
print "Super-Gluu. Send iOS SNS push notification. token: '%s', message: '%s', send_notification_result: '%s', apple_push_platform: '%s'" % (push_token, push_message, send_notification_result, apple_push_platform)
elif self.pushGluuMode:
send_notification_result = self.pushAppleService.sendNotification(self.buildNotifyAuthorizationHeader(), targetEndpointArn, push_message, self.gluu_ios_platform_id)
if debug:
if self.debugMode:
print "Super-Gluu. Send iOS Gluu push notification. token: '%s', message: '%s', send_notification_result: '%s'" % (push_token, push_message, send_notification_result)
else:
additional_fields = { "request" : super_gluu_request }
Expand All @@ -875,14 +876,14 @@ def sendPushNotificationImpl(self, client_redirect_uri, user, super_gluu_request
push_message = msgBuilder.build()

send_notification_result = self.pushAppleService.push(push_token, push_message)
if debug:
if self.debugMode:
print "Super-Gluu. Send iOS Native push notification. token: '%s', message: '%s', send_notification_result: '%s'" % (push_token, push_message, send_notification_result)
send_ios = send_ios + 1

if StringHelper.equalsIgnoreCase(platform, "android") and StringHelper.isNotEmpty(push_token):
# Sending notification to Android user's device
if self.pushAndroidService == None:
print "Super-Gluu. Send native push notification. Android native push notification service is not enabled"
print "Super-Gluu. Send native push notification. Android push notification service is not enabled"
else:
send_notification = True

Expand All @@ -906,31 +907,31 @@ def sendPushNotificationImpl(self, client_redirect_uri, user, super_gluu_request

if self.pushSnsMode:
send_notification_result = pushSnsService.sendPushMessage(self.pushAndroidService, PushPlatform.GCM, targetEndpointArn, push_message, None)
if debug:
if self.debugMode:
print "Super-Gluu. Send Android SNS push notification. token: '%s', message: '%s', send_notification_result: '%s'" % (push_token, push_message, send_notification_result)
elif self.pushGluuMode:
send_notification_result = self.pushAndroidService.sendNotification(self.buildNotifyAuthorizationHeader(), targetEndpointArn, push_message, self.gluu_android_platform_id)
if debug:
if self.debugMode:
print "Super-Gluu. Send Android Gluu push notification. token: '%s', message: '%s', send_notification_result: '%s'" % (push_token, push_message, send_notification_result)
else:
msgBuilder = Message.Builder().addData("message", super_gluu_request).addData("title", title).collapseKey("single").contentAvailable(True)
push_message = msgBuilder.build()

send_notification_result = self.pushAndroidService.send(push_message, push_token, 3)
if debug:
if self.debugMode:
print "Super-Gluu. Send Android Native push notification. token: '%s', message: '%s', send_notification_result: '%s'" % (push_token, push_message, send_notification_result)
send_android = send_android + 1

print "Super-Gluu. Send push notification. send_android: '%s', send_ios: '%s'" % (send_android, send_ios)

def getTargetEndpointArn(self, registrationPersistenceService, pushSnsService, platform, user, u2fDevice):
print "Super-Gluu. Get target endpoint ARN. Preparing to build register device request with user='%s', platform='%s'" % (user.getUserId(), platform)
targetEndpointArn = None

# Return endpoint ARN if it created already
notificationConf = u2fDevice.getDeviceNotificationConf()
if StringHelper.isNotEmpty(notificationConf):
notificationConfJson = json.loads(notificationConf)
targetEndpointArn = notificationConfJson['sns_endpoint_arn']
if notificationConf != None:
targetEndpointArn = notificationConf.getSnsEndpointArn()
if StringHelper.isNotEmpty(targetEndpointArn):
print "Super-Gluu. Get target endpoint ARN. There is already created target endpoint ARN"
return targetEndpointArn
Expand Down Expand Up @@ -961,6 +962,8 @@ def getTargetEndpointArn(self, registrationPersistenceService, pushSnsService, p
targetEndpointArn = pushSnsService.createPlatformArn(pushClient, platformApplicationArn, pushToken, user)
else:
customUserData = pushSnsService.getCustomUserData(user)
if self.debugMode:
print "Super-Gluu. Get target endpoint ARN. Attempting to send register device request with user='%s', pushToken='%s', platformId='%s', customUserData='%s'" % (user.getUserId(), pushToken, platformId, customUserData)
registerDeviceResponse = pushClient.registerDevice(self.buildNotifyAuthorizationHeader(), pushToken, customUserData, platformId);
if registerDeviceResponse != None and registerDeviceResponse.getStatusCode() == 200:
targetEndpointArn = registerDeviceResponse.getEndpointArn()
Expand All @@ -974,7 +977,7 @@ def getTargetEndpointArn(self, registrationPersistenceService, pushSnsService, p
# Store created endpoint ARN in device entry
userInum = user.getAttribute("inum")
u2fDeviceUpdate = registrationPersistenceService.findRegisteredUserDevice(userInum, u2fDevice.getId())
u2fDeviceUpdate.setDeviceNotificationConf('{"sns_endpoint_arn" : "%s"}' % targetEndpointArn)
u2fDeviceUpdate.setDeviceNotificationConf(Fido2DeviceNotificationConf(targetEndpointArn, None, None))
registrationPersistenceService.update(u2fDeviceUpdate)
print "Super-Gluu. Send push notification. Stored ARN user's '%s' enpoint " % user.getUserId()

Expand Down Expand Up @@ -1136,6 +1139,7 @@ def registerScanClient(self, asBaseUrl, asRedirectUri, asSSA, customScript):

redirect_str = "[\"%s\"]" % asRedirectUri
data_org = {'redirect_uris': json.loads(redirect_str),
'lifetime': 7884000,
'software_statement': asSSA}
body = json.dumps(data_org)

Expand Down