8f88c4cf5b
feat: add PKCE option to generic OAuth2 / OIDC identity providers ( #9373 )
...
# Which Problems Are Solved
Some OAuth2 and OIDC providers require the use of PKCE for all their
clients. While ZITADEL already recommended the same for its clients, it
did not yet support the option on the IdP configuration.
# How the Problems Are Solved
- A new boolean `use_pkce` is added to the add/update generic OAuth/OIDC
endpoints.
- A new checkbox is added to the generic OAuth and OIDC provider
templates.
- The `rp.WithPKCE` option is added to the provider if the use of PKCE
has been set.
- The `rp.WithCodeChallenge` and `rp.WithCodeVerifier` options are added
to the OIDC/Auth BeginAuth and CodeExchange function.
- Store verifier or any other persistent argument in the intent or auth
request.
- Create corresponding session object before creating the intent, to be
able to store the information.
- (refactored session structs to use a constructor for unified creation
and better overview of actual usage)
Here's a screenshot showing the URI including the PKCE params:

# Additional Changes
None.
# Additional Context
- Closes #6449
- This PR replaces the existing PR (#8228 ) of @doncicuto. The base he
did was cherry picked. Thank you very much for that!
---------
Co-authored-by: Miguel Cabrerizo <[email protected] >
Co-authored-by: Stefan Benz <[email protected] >
2025-02-26 12:20:47 +00:00
9d29098aa6
fix(console): identity provider title layout ( #8302 )
...
# Which Problems Are Solved
Fixes the alignment of the identity provider layouts
<img width="432" alt="Screenshot 2024-07-15 at 08 42 21"
src="https://github.com/user-attachments/assets/c45e4226-fc7e-4b5e-a25b-164bd31864c5 ">
# Context
- noted internally while implementing
https://github.com/zitadel/zitadel/pull/8295
---------
Co-authored-by: Livio Spring <[email protected] >
2024-07-15 11:25:59 +00:00
Livio Spring and GitHub
dcfa2f7955
feat(idp): provide option to auto link user ( #7734 )
...
* init auto linking
* prompt handling
* working
* translations
* console
* fixes
* unify
* custom texts
* fix tests
* linting
* fix check of existing user
* fix bg translation
* set unspecified as default in the form
2024-04-10 15:46:30 +00:00
Elio Bischof and GitHub
6ca35009be
fix(console): show callback urls on update idp ( #7668 )
...
* fix(console): show callback urls on update idp
* styles
* lint
* center links
2024-03-28 16:22:08 +00:00
d26391a642
feat(console): guide users when configuring IDPs ( #7572 )
...
* feat(console): show external idp remote config
* reuse copy-row
* finish google and saml sp
* finish apps
* add next steps modal
* rollout
* activate
* fix saml urls
* fix saml provider
* complete providers
* translate
* update google docs
* update entra id oidc docs
* update entra id saml docs
* update github docs
* update gitlab docs
* update apple docs
* update okta oidc docs
* update okta saml docs
* update keycloak docs
* update mocksaml
* cleanup
* lint
* lint
* fix overriden classes
* encapsulate styles
* fix icon classes
---------
Co-authored-by: peintnermax <[email protected] >
2024-03-27 20:10:31 +00:00
aa805d18a2
chore(npm): dependencies ( #7141 )
...
* chore(deps): bump flag-icons from 6.9.3 to 7.1.0 in /console (#7092 )
Bumps [flag-icons](https://github.com/lipis/flag-icons ) from 6.9.3 to 7.1.0.
- [Release notes](https://github.com/lipis/flag-icons/releases )
- [Changelog](https://github.com/lipis/flag-icons/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lipis/flag-icons/compare/v6.9.3...v7.1.0 )
---
updated-dependencies:
- dependency-name: flag-icons
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump prettier from 3.0.3 to 3.1.1 in /console (#7058 )
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump uuid and @types/uuid in /console (#6993 )
Bumps [uuid](https://github.com/uuidjs/uuid ) and [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ). These dependencies needed to be updated together.
Updates `uuid` from 9.0.0 to 9.0.1
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1 )
Updates `@types/uuid` from 9.0.2 to 9.0.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: "@types/uuid"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* zonejs
* chore(deps-dev): bump @types/jasmine from 4.3.6 to 5.1.4 in /console (#6991 )
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine ) from 4.3.6 to 5.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine )
---
updated-dependencies:
- dependency-name: "@types/jasmine"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump i18n-iso-countries from 7.6.0 to 7.7.0 in /console (#6990 )
Bumps [i18n-iso-countries](https://github.com/michaelwittig/node-i18n-iso-countries ) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/michaelwittig/node-i18n-iso-countries/releases )
- [Commits](https://github.com/michaelwittig/node-i18n-iso-countries/compare/v7.6.0...v7.7.0 )
---
updated-dependencies:
- dependency-name: i18n-iso-countries
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* jasmine
* prettier plugin
* chore(deps-dev): bump @types/opentype.js from 1.3.4 to 1.3.8 in /console (#6985 )
Bumps [@types/opentype.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/opentype.js ) from 1.3.4 to 1.3.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/opentype.js )
---
updated-dependencies:
- dependency-name: "@types/opentype.js"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump postcss from 8.4.21 to 8.4.31 in /docs (#6674 )
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.21 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump axios and wait-on in /e2e (#7073 )
Bumps [axios](https://github.com/axios/axios ) to 1.6.2 and updates ancestor dependency [wait-on](https://github.com/jeffbski/wait-on ). These dependencies need to be updated together.
Updates `axios` from 0.25.0 to 1.6.2
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.25.0...v1.6.2 )
Updates `wait-on` from 6.0.1 to 7.2.0
- [Release notes](https://github.com/jeffbski/wait-on/releases )
- [Commits](https://github.com/jeffbski/wait-on/compare/v6.0.1...v7.2.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
- dependency-name: wait-on
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* lint changes
* lint
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 10:25:21 +00:00
b099a26a16
feat(console): MDC components ( #6482 )
...
mdc components
---------
Co-authored-by: Elio Bischof <[email protected] >
2023-10-26 08:29:06 +00:00
0ed2906b5d
chore(console): dependency update ( #5653 )
...
* cli, core
* cli, core
* material, cdk
* chore(deps-dev): bump @types/node from 18.13.0 to 18.15.11 in /console (#5594 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.13.0 to 18.15.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump jasmine-core from 4.5.0 to 4.6.0 in /console (#5592 )
Bumps [jasmine-core](https://github.com/jasmine/jasmine ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/jasmine/jasmine/releases )
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md )
- [Commits](https://github.com/jasmine/jasmine/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: jasmine-core
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump zone.js from 0.12.0 to 0.13.0 in /console (#5586 )
Bumps [zone.js](https://github.com/angular/angular/tree/HEAD/packages/zone.js ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/angular/angular/releases )
- [Changelog](https://github.com/angular/angular/blob/main/packages/zone.js/CHANGELOG.md )
- [Commits](https://github.com/angular/angular/commits/zone.js-0.13.0/packages/zone.js )
---
updated-dependencies:
- dependency-name: zone.js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump prettier from 2.8.4 to 2.8.7 in /console (#5589 )
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.4 to 2.8.7.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.7 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* lock
* tsconfig, index signature, angular.json
* cli core
* material cdk
* chore(deps): bump libphonenumber-js from 1.10.19 to 1.10.24 in /console (#5498 )
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js ) from 1.10.19 to 1.10.24.
- [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags )
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md )
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.19...v1.10.24 )
---
updated-dependencies:
- dependency-name: libphonenumber-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packages
* rm redundant bindings
* disable button
* rm provider service
* rm environment.tss
* seo
* fresh lock
* eslint
* eslint
* increase budgets
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 15:42:29 +02:00
Max Peintner and GitHub
e79e280dc7
fix(console): set options ( #5605 )
...
fix: set idp options
2023-04-14 17:20:53 +02:00
Max Peintner and GitHub
542271b467
feat(console): Active Directory / LDAP, cleanup idp component routing ( #5506 )
...
feat(console): LDAP
2023-03-28 07:38:17 +00:00
Max Peintner and GitHub
e9df06df38
fix(console): initialize provider options ( #5520 )
...
fix: provider options initializer
2023-03-22 08:53:07 +00:00
Max Peintner and GitHub
9b41758af0
fix(console): delete provider, refactor add and update methods ( #5515 )
...
fix: provider deletion
2023-03-21 17:48:35 +01:00
Max Peintner and GitHub
f0e0191c7b
refactor(console): common idp provider styles ( #5450 )
...
common idp provider styles
2023-03-16 06:53:46 +00:00
Max Peintner and GitHub
bc116247ea
feat(console): azure ad provider ( #5440 )
...
azure ad provider for console
2023-03-15 13:53:50 +01:00
93e1fe0056
fix(console): better error messages ( #5409 )
...
* fix(console): better error messages
* fix: fix i18n error labels
* rollout cnsl-i18n-errors
* move errors to form-field
* fix: form control errors
* rollout validators
* translate
* replace variables
* lint
* self review
* fix confirm validation
* use help observable
* fix validation errors
* cleanup
* custom validator for idp templates
* lint
* validate on blur
* remove element
---------
Co-authored-by: Max Peintner <[email protected] >
2023-03-14 21:29:45 +00:00
Max Peintner and GitHub
0c704966a2
feat(console): OAuth provider template ( #5377 )
...
implements oauth template for console
Co-authored-by: Elio Bischof <[email protected] >
2023-03-10 15:28:18 +00:00