Livio Amstutz and GitHub
055cdf98ed
fix: passwordless ( #1112 )
...
* fix token list
* fix token name
* i18n
2020-12-17 08:17:02 +01:00
Livio Amstutz and GitHub
71df1bcd0e
fix: improvements for WebAuthN ( #1105 )
...
* add missing translations
* add missing passwordless funcs in api
* remove u2f with verification from setup in login
2020-12-15 16:44:16 +01:00
Livio Amstutz and GitHub
7463bf4fe0
fix: webauthn domain ( #1104 )
2020-12-14 13:56:08 +01:00
Livio Amstutz and GitHub
b71a444e86
fix: primary domain claim ( #1082 )
...
* fix: primary domain scope (overwrite by roles and rogue `:`)
* disable wrong users
* fix test
* show requested org name
* only show domain when selected
2020-12-14 10:54:29 +01:00
Livio Amstutz and GitHub
38478efefb
fix: handle multiple webauthn origins ( #1078 )
...
* fix(grpc): return CredentialCreationData in webauthn public key
* return id of u2f tokens
* handle separate origins in webauthn
* param
2020-12-08 15:39:58 +01:00
Livio Amstutz and GitHub
12f8c7202c
fix(grpc): return CredentialCreationData in webauthn public key ( #1075 )
2020-12-07 15:22:11 +01:00
Livio Amstutz and GitHub
077a9a628e
fix: improvements for login flow (incl. webauthn) ( #1026 )
...
* fix: typo ZITADEL uppercase for OTP Issuer
* fix: password validation after change in current user agent
* fix: otp validation after setup in current user agent
* add waiting
* add waiting
* show u2f state
* regenerate css
* add useragentID to webauthn verify
* return mfa attribute in mgmt
* switch between providers
* use preferredLoginName for webauthn display
* some fixes
* correct translations for login
* add some missing event translations
* fix usersession test
* remove unnecessary cancel button on password change done
2020-12-07 12:09:10 +01:00
Livio Amstutz and GitHub
6d210c3f00
fix: add permissions-policy header ( #1059 )
2020-12-07 09:00:31 +01:00
300ade66a7
feat: add WebAuthN support for passwordless login and 2fa ( #966 )
...
* at least registration prompt works
* in memory test for login
* buttons to start webauthn process
* begin eventstore impl
* begin eventstore impl
* serialize into bytes
* fix: u2f, passwordless types
* fix for localhost
* fix script
* fix: u2f, passwordless types
* fix: add u2f
* fix: verify u2f
* fix: session data in event store
* fix: u2f credentials in eventstore
* fix: webauthn pkg handles business models
* feat: tests
* feat: append events
* fix: test
* fix: check only ready webauthn creds
* fix: move u2f methods to authrepo
* frontend improvements
* fix return
* feat: add passwordless
* feat: add passwordless
* improve ui / error handling
* separate call for login
* fix login
* js
* feat: u2f login methods
* feat: remove unused session id
* feat: error handling
* feat: error handling
* feat: refactor user eventstore
* feat: finish webauthn
* feat: u2f and passwordlss in auth.proto
* u2f step
* passwordless step
* cleanup js
* EndpointPasswordLessLogin
* migration
* update mfaChecked test
* next step test
* token name
* cleanup
* attribute
* passwordless as tokens
* remove sms as otp type
* add "user" to amr for webauthn
* error handling
* fixes
* fix tests
* naming
* naming
* fixes
* session handler
* i18n
* error handling in login
* Update internal/ui/login/static/i18n/de.yaml
Co-authored-by: Fabi <[email protected] >
* Update internal/ui/login/static/i18n/en.yaml
Co-authored-by: Fabi <[email protected] >
* improvements
* merge fixes
* fixes
* fixes
Co-authored-by: Fabiennne <[email protected] >
Co-authored-by: Fabi <[email protected] >
2020-12-02 17:00:04 +01:00
Livio Amstutz and GitHub
2331b8a4c0
feat(oidc): add clock skew and userinfo claims in ID Token ( #1022 )
...
* feat: add clock skew
* add IDTokenUserinfoAssertion
* migration
* fix missing converter
* update oidc version
* fix interface impl
2020-11-27 14:10:52 +01:00
Livio Amstutz and GitHub
7e3ace7a96
fix: TestAuthRequestRepo_nextSteps ( #995 )
2020-11-20 13:05:35 +01:00
Livio Amstutz and GitHub
85d2be2e8c
fix: handle short cache for console correctly ( #993 )
2020-11-20 08:47:28 +01:00
Livio Amstutz and GitHub
16cd7388ce
fix: handle LoginPolicyRemoved in auth ( #982 )
2020-11-18 15:18:03 +01:00
b9be5f4e11
fix: handle disabled mfa types correctly during login ( #979 )
...
* fix: handle disabled mfa types during login correctly
* fix: add 2fa to default login policy
* fix: setup
* Update internal/setup/step7.go
Co-authored-by: Fabi <[email protected] >
Co-authored-by: Fabi <[email protected] >
2020-11-18 12:56:24 +01:00
376fba72d8
fix: user init mail (for wrong email) ( #891 )
...
* add resendInitialMail
* disable email notifications (when not initialised)
* fix resend init mail
* add tests
* cleanup
* cleanup
* fix tests
* add resend trigger, dialog
* refactor contact component, add sendinitmail fnc
* skip email if empty
* reload user on phone email changes, i18n warndialog on dl
* lint
* rebuild mgmt proto
* remove initial focus
* Update console/src/assets/i18n/de.json
Co-authored-by: Fabi <[email protected] >
Co-authored-by: Max Peintner <[email protected] >
Co-authored-by: Fabi <[email protected] >
2020-11-16 11:43:22 +01:00
Livio Amstutz and GitHub
6a91cfe5a6
fix: email styling ( #918 )
2020-10-28 15:26:20 +01:00
Livio Amstutz and GitHub
524a6d4467
fix: type conversation ( #894 )
2020-10-26 08:38:48 +01:00
Livio Amstutz and GitHub
a7ed5fed50
fix: update oidc pkg for basic auth encoding ( #896 )
2020-10-24 20:27:48 +02:00
Livio Amstutz and GitHub
457bfb4768
fix(oidc): grant_types_supported in discovery ( #885 )
2020-10-21 16:47:14 +02:00
Livio Amstutz and GitHub
274dce2c6a
fix(notification): check both user event versions and if code expired ( #887 )
2020-10-21 16:42:29 +02:00
Livio Amstutz and GitHub
b3f68c8f48
feat: add tracing interceptors to login and oidc ( #764 )
...
* add tracing interceptors to login and oidc
* add some tracing spans
* trace login calls
* add some spans
* add some spans (change password)
* add some more tracing in oauth/oidc
* revert org exists
* Merge branch 'master' into http-tracing
# Conflicts:
# internal/api/oidc/auth_request.go
# internal/api/oidc/client.go
# internal/auth/repository/eventsourcing/eventstore/auth_request.go
# internal/auth/repository/eventsourcing/eventstore/user.go
# internal/authz/repository/eventsourcing/eventstore/token_verifier.go
# internal/authz/repository/eventsourcing/view/token.go
# internal/user/repository/eventsourcing/eventstore.go
2020-10-21 10:18:34 +02:00
Livio Amstutz and GitHub
a321d850ae
feat: project roles ( #843 )
...
* fix logging
* token verification
* feat: assert roles
* feat: add project role assertion on project and token type on app
* id and access token role assertion
* add project role check
* user grant required step in login
* update library
* fix merge
* fix merge
* fix merge
* update oidc library
* fix tests
* add tests for GrantRequiredStep
* add missing field ProjectRoleCheck on project view model
* fix project create
* fix project create
2020-10-16 07:49:38 +02:00
Livio Amstutz and GitHub
9887e897ee
fix: only show external login text when providers available ( #768 )
2020-09-21 14:06:54 +02:00
Livio Amstutz and GitHub
da8f243129
fix: marshal of user info address ( #767 )
2020-09-21 12:55:39 +02:00
Livio Amstutz and GitHub
8fcb03854b
fix: iam permission ( #720 )
...
* fix: get iam permissions
* fix: iam permissions
2020-09-10 15:40:20 +02:00
Livio Amstutz and GitHub
619d194044
fix: get iam permissions ( #713 )
2020-09-08 19:05:12 +02:00
Livio Amstutz and GitHub
cca92874ab
fix: permissions ( #698 )
...
* get my zitadel permissions from memberships (not grants)
* change SearchMyProjectOrgs to user user_membership
2020-09-04 15:20:39 +02:00
a2aabe577a
chore(site): run workflow only on site changes ( #696 )
...
* chore(site): run workflow only on `site` changes
* Update .github/workflows/docs.yml
Co-authored-by: Florian Forster <[email protected] >
Co-authored-by: Florian Forster <[email protected] >
2020-09-04 12:23:15 +02:00
Livio Amstutz and GitHub
76b5b5fa9c
fix: release ( #695 )
2020-09-04 10:23:53 +02:00
Livio Amstutz and GitHub
c553c70887
fix: user state ( #693 )
2020-09-04 09:55:26 +02:00
370cd19a83
fix: improve permission checks ( #682 )
...
* separate roles for global org
* remove old user grant permissions
* allow context permissions
Co-authored-by: Fabi <[email protected] >
2020-09-01 16:38:34 +02:00
bd7e3731c5
fix: change permission to create project ( #671 )
...
Co-authored-by: adlerhurst <[email protected] >
2020-09-01 08:12:05 +02:00
Livio Amstutz and GitHub
c55b9ff40c
fix: login prefix for handler ( #674 )
2020-08-31 19:35:34 +02:00
Livio Amstutz and GitHub
c1c85e632b
fix: cookie handling ( #654 )
...
* feat: set cookie prefix and max age
* cookie prefix on csrf cookie
* fix: check user agent cookie in login
* update oidc pkg
* cleanup
2020-08-31 08:49:35 +02:00
34ec2508d3
feat: add domain verification notification ( #649 )
...
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <[email protected] >
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <[email protected] >
* fix
Co-authored-by: Fabi <[email protected] >
2020-08-27 17:18:23 +02:00
Livio Amstutz and GitHub
568fa82d10
fix: update oidc pkg ( #632 )
2020-08-24 17:10:06 +02:00
Livio Amstutz and GitHub
4e1e8a714a
fix: cors ( #621 )
...
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* check origin on userinfo
* update oidc pkg
2020-08-24 10:06:55 +02:00
6362ec7662
fix: support Code Challenge S256 ( #617 )
...
* fix: update oidc pkg
* fix: support s256 code method
* chore(console): javascript dependencies (#600 )
* chore(deps): bump @types/google-protobuf from 3.7.2 to 3.7.3 in /console (#593 )
Bumps [@types/google-protobuf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/google-protobuf ) from 3.7.2 to 3.7.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/google-protobuf )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular/cli from 10.0.5 to 10.0.6 in /console (#589 )
Bumps [@angular/cli](https://github.com/angular/angular-cli ) from 10.0.5 to 10.0.6.
- [Release notes](https://github.com/angular/angular-cli/releases )
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.5...v10.0.6 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump google-protobuf from 3.12.4 to 3.13.0 in /console (#599 )
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 3.12.4 to 3.13.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.12.4...v3.13.0 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump @types/uuid from 8.0.1 to 8.3.0 in /console (#598 )
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) from 8.0.1 to 8.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <[email protected] >
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#597 )
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli ) from 0.1000.5 to 0.1000.6.
- [Release notes](https://github.com/angular/angular-cli/releases )
- [Commits](https://github.com/angular/angular-cli/commits )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <[email protected] >
* chore(deps-dev): bump karma-jasmine from 3.3.1 to 4.0.1 in /console (#588 )
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine ) from 3.3.1 to 4.0.1.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases )
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v3.3.1...v4.0.1 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular/language-service in /console (#587 )
Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service ) from 10.0.8 to 10.0.9.
- [Release notes](https://github.com/angular/angular/releases )
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md )
- [Commits](https://github.com/angular/angular/commits/10.0.9/packages/language-service )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: new zitadel logo assets, img height in readme (#612 )
* fix: zitadel logo, header padding in docs
* zitadel logo height
* Update README.md
* Update README.md
* use png
* smaller
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* docs: fix typos (#616 )
Co-authored-by: Florian Forster <[email protected] >
Co-authored-by: Florian Forster <[email protected] >
Co-authored-by: Max Peintner <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elio Bischof <[email protected] >
2020-08-21 06:32:33 +02:00
Livio Amstutz and GitHub
578453b024
fix(tests): go version of tests ( #618 )
2020-08-20 22:09:37 +02:00
Livio Amstutz and GitHub
edfd9d2038
fix: UserIDsByDomain ( #608 )
2020-08-20 07:28:49 +02:00
Livio Amstutz and GitHub
4e74050039
fix: add arg and probes to deployment ( #605 )
...
* feat: separate setup from startup
* health
* move setup config
* add env vars to caos_local.sh
* fix domain and set devMode explicit
* fix: add arg and probes to deployment
* fix setup.yaml
* domain validation
2020-08-18 14:22:53 +02:00
Livio Amstutz and GitHub
8830896199
feat: setup as separate command ( #604 )
...
* feat: separate setup from startup
* health
* move setup config
* add env vars to caos_local.sh
* fix domain and set devMode explicit
2020-08-18 10:04:56 +02:00
1a00faf132
fix: claim verified domain from usernames ( #603 )
...
* fix: return orgDomain validationType
* added missing translations for orgDomain activity
* claim org domain
* show message if domain token was requested
* fix tests
* fix tests
Co-authored-by: Max Peintner <[email protected] >
2020-08-18 08:57:16 +02:00
f61b30420a
fix: session handlers ( #586 )
...
* fix: session handler when no sessions exists
* fix: error handling
* error handling
* fix: error handling
* fix: error handling
* fix: error handling
* some errors
Co-authored-by: Fabiennne <[email protected] >
2020-08-13 09:43:47 +02:00
Livio Amstutz and GitHub
64f0b191b5
fix: dont (re)generate client secret with auth type none ( #564 )
2020-08-07 13:49:57 +02:00
Livio Amstutz and GitHub
7015b226ef
feat: add domain verification ( #560 )
...
* feat: add domain verification
* add checks
* add and fix tests
* fix go.mod
* regenerate proto
2020-08-06 15:03:03 +02:00
Livio Amstutz and GitHub
933193855a
feat(login): show profile ( #485 )
...
* profile data
* fix scripts
* fix image paths
* feat: show profile (with image) when possible
* fix profile image width
2020-07-20 10:00:29 +02:00
Livio Amstutz and GitHub
87155f8c9e
chore(login): html cleanup ( #473 )
2020-07-15 13:22:45 +02:00
Livio Amstutz and GitHub
c051fa8ae1
fix: ignore empty displayname in changes ( #472 )
2020-07-15 09:01:06 +02:00
Livio Amstutz and GitHub
d8eef34a37
fix: send csrf on root path ( #444 )
2020-07-10 13:09:30 +02:00
Livio Amstutz and GitHub
0c442cbb3a
fix: eventQuery for project grant members ( #445 )
2020-07-10 13:08:01 +02:00
Livio Amstutz and GitHub
c0f811d0bd
fix: missing password config ( #443 )
2020-07-10 08:45:13 +02:00
Livio Amstutz and GitHub
870226a481
fix: changes in auth ( #442 )
2020-07-09 18:47:54 +02:00
Livio Amstutz and GitHub
da113ffb95
fix: redirect to register ( #437 )
2020-07-09 18:01:58 +02:00
Livio Amstutz and GitHub
bc5f16d5b4
fix: render login ( #432 )
2020-07-09 17:44:35 +02:00
Livio Amstutz and GitHub
6128c0c672
fix: response type mapping ( #426 )
...
* fix: return authorizations on userinfo
* fix: response type mapping
* fix tests
* fix angular
* regenerate mgmt proto
* enable login link again
2020-07-09 15:52:20 +02:00
Livio Amstutz and GitHub
8efa697af2
fix: return authorizations on userinfo ( #420 )
2020-07-09 14:05:12 +02:00
Livio Amstutz and GitHub
60e9695199
fix: login prefix only on dev ( #396 )
2020-07-08 15:22:14 +02:00
Livio Amstutz and GitHub
2136efe083
fix: url prefixes ( #395 )
2020-07-08 14:55:33 +02:00
Livio Amstutz and GitHub
3549a8b64e
feat: port reduction ( #323 )
...
* move mgmt pkg
* begin package restructure
* rename auth package to authz
* begin start api
* move auth
* move admin
* fix merge
* configs and interceptors
* interceptor
* revert generate-grpc.sh
* some cleanups
* console
* move console
* fix tests and merging
* js linting
* merge
* merging and configs
* change k8s base to current ports
* fixes
* cleanup
* regenerate proto
* remove unnecessary whitespace
* missing param
* go mod tidy
* fix merging
* move login pkg
* cleanup
* move api pkgs again
* fix pkg naming
* fix generate-static.sh for login
* update workflow
* fixes
* logging
* remove duplicate
* comment for optional gateway interfaces
* regenerate protos
* fix proto imports for grpc web
* protos
* grpc web generate
* grpc web generate
* fix changes
* add translation interceptor
* fix merging
* regenerate mgmt proto
2020-07-08 13:56:37 +02:00
Livio Amstutz and GitHub
b863e7c407
fix(console): header overwrite ( #384 )
2020-07-08 08:23:33 +02:00
Livio Amstutz and GitHub
141fe5f4e4
chore(console): delete evil js ( #365 )
...
* Delete admin_grpc_web_pb.d.ts
* Delete admin_grpc_web_pb.js
* Delete admin_pb.d.ts
* Delete admin_pb.js
2020-07-07 15:26:19 +02:00
65b17a83fb
feat(login): default to user selection, take login_hint into account ( #350 )
...
* feat(login): default to user selection instead of login, take login_hint into account
* fix: proper error message when user (and other objects) not found (#337 )
* fix: proper error message when user not found by loginname
* add more not found and fix some typos
* feat: usergrant (#348 )
* fix: add needed permissions
* feat: search project/projectgrant user grants
* fix: no zitadel permissions
* fix: queries length
* feat: add get my password policy (#346 )
* feat: add get my password policy
* fix: failed merges
* chore(deps): bump contrib.go.opencensus.io/exporter/stackdriver (#343 )
Bumps [contrib.go.opencensus.io/exporter/stackdriver](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/releases )
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/compare/v0.13.1...v0.13.2 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: remove phone (#349 )
* feat: remove phone number
* feat: remove phone number tests
* feat: remove phone number tests
* fix: regenerate protos
* fix(console): distinct user grant searches and creates, project grant member edit, import cleanup (#342 )
* project grant member edit
* project grant member dialog, import cleanup
* readd project roles
* user login-methods cleanup
* fix sw config, user grant context
* delete user grants, context for creation, search
* contributor box shadow
* password to detail view
* user detail notification
* lint
Co-authored-by: Fabi <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <[email protected] >
2020-07-07 08:14:44 +02:00
Livio Amstutz and GitHub
26634505ba
fix: proper error message when user (and other objects) not found ( #337 )
...
* fix: proper error message when user not found by loginname
* add more not found and fix some typos
2020-07-06 13:18:10 +02:00
Livio Amstutz and GitHub
10d8d68b21
fix: Potentially unsafe external link ( #335 )
2020-07-03 12:48:09 +02:00
Livio Amstutz and GitHub
3937e76947
Update V1.24__failed_events.sql ( #314 )
2020-06-29 10:46:32 +02:00
Livio Amstutz and GitHub
b88f200434
change caching for console (service worker) ( #261 )
2020-06-24 14:26:27 +02:00
83ff4c8ee6
fix: password reset ( #258 )
...
* feat: translate error messages in error interceptor
* fix: add statik import
* feat: user error msgs
* feat: add translations
* feat: add translations
* feat: add translations
* feat: add translations
* feat: add translations
* feat: add translations
* some fixes and improved error messages
* display loginname only on authReq
* fix: login names (and query) (#253 )
* fix: add interceptors for console (#255 )
* add interceptors for console
* add interceptors for console to env.json
* fix: query side (#257 )
* fix: project by id return projectview
* fix: return always view model on query side
* fix: return always view model on query side
Co-authored-by: Fabiennne <[email protected] >
Co-authored-by: Fabi <[email protected] >
2020-06-23 09:45:08 +02:00
Livio Amstutz and GitHub
45bd910db6
fix(console): add style / font src hosts to connect src ( #259 )
2020-06-23 08:43:41 +02:00
Livio Amstutz and GitHub
f68a5e63b5
fix: add interceptors for console ( #255 )
...
* add interceptors for console
* add interceptors for console to env.json
2020-06-22 13:17:29 +02:00
Livio Amstutz and GitHub
66cca48b62
fix: login names (and query) ( #253 )
2020-06-22 10:38:29 +02:00
Livio Amstutz and GitHub
e653eaab86
fix: login ( #242 )
...
* password in init user only if needed
* reactivate user session
* set context AuthorizeClientIDSecret
* fix qr code for light
* fix copy
* check user and org active in auth
* add org view provider
* handle inactive projects
* translate error messages
2020-06-19 14:52:04 +02:00
Livio Amstutz and GitHub
e7b139ba2c
fix: preferred login name ( #231 )
...
* fix: add preferred login name to my user sessions and get user info from view
* fix: my user in auth
2020-06-17 16:43:53 +02:00
Livio Amstutz and GitHub
1c59d18fee
fix: improvements for login and oidc ( #227 )
...
* add csrf
* caching
* caching
* caching
* caching
* security headers
* csp and security headers
* error handler csp
* select user with display name
* csp
* user selection styling
* username to loginname
* regenerate grpc
* regenerate
* change to login name
2020-06-17 08:06:40 +02:00
Livio Amstutz and GitHub
e57d4b1ed4
fix: terminate usersession ( #212 )
2020-06-11 16:34:54 +02:00
44d41b8d97
fix: failed events ( #211 )
...
* fix: add iam roles to permissions
* fix: show state initial on usersearch
* fix: search project roles returns only roles of project
* fix: add project member owner on project create
* fix: create new object oon failed event
* feat: parse error body on chat message
* feat: remove comment
* fix: set policy eventstore in admin
* fix failed events
* fix resend for password set
* fix: create user with correct resource owner
Co-authored-by: Fabiennne <[email protected] >
2020-06-11 14:59:57 +02:00
Livio Amstutz and GitHub
fb3a5c94a0
fix: secrets to env vars mapping ( #209 )
2020-06-11 11:21:29 +02:00
Livio Amstutz and GitHub
9cd7f69e61
add caos to admin and auth proto package ( #190 )
2020-06-09 09:22:37 +02:00
Livio Amstutz and GitHub
5e931a3c13
fix: console env directory ( #189 )
...
* fix: serve console env from os (not statik)
* ZITADEL_CONSOLE_ENV_PATH for (local) overwrite possibility
* name EnvOverwritePath
* fix: console env directory
* fix mount path
* fix default dir
2020-06-09 08:44:55 +02:00
Livio Amstutz and GitHub
0da6dc1d66
fix: serve console env from os (not statik) ( #187 )
...
* fix: serve console env from os (not statik)
* ZITADEL_CONSOLE_ENV_PATH for (local) overwrite possibility
* name EnvOverwritePath
2020-06-09 07:38:44 +02:00
Livio Amstutz and GitHub
2acad11196
fix deployment.yaml env ( #186 )
2020-06-08 08:33:54 +02:00
8a5badddf6
feat: Login, OP Support and Auth Queries ( #177 )
...
* fix: change oidc config
* fix: change oidc config secret
* begin models
* begin repo
* fix: implement grpc app funcs
* fix: add application requests
* fix: converter
* fix: converter
* fix: converter and generate clientid
* fix: tests
* feat: project grant aggregate
* feat: project grant
* fix: project grant check if role existing
* fix: project grant requests
* fix: project grant fixes
* fix: project grant member model
* fix: project grant member aggregate
* fix: project grant member eventstore
* fix: project grant member requests
* feat: user model
* begin repo
* repo models and more
* feat: user command side
* lots of functions
* user command side
* profile requests
* commit before rebase on user
* save
* local config with gopass and more
* begin new auth command (user centric)
* Update internal/user/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/address.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/address.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/email.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/email.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/email.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/mfa.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/mfa.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/password.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/password.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/password.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/phone.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/phone.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/phone.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/usergrant/repository/eventsourcing/model/user_grant.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/usergrant/repository/eventsourcing/model/user_grant.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/usergrant/repository/eventsourcing/user_grant.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/user_test.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/eventstore_mock_test.go
Co-Authored-By: Livio Amstutz <[email protected] >
* changes from mr review
* save files into basedir
* changes from mr review
* changes from mr review
* move to auth request
* Update internal/usergrant/repository/eventsourcing/cache.go
Co-authored-by: Silvan <[email protected] >
* Update internal/usergrant/repository/eventsourcing/cache.go
Co-authored-by: Silvan <[email protected] >
* changes requested on mr
* fix generate codes
* fix return if no events
* password code
* email verification step
* more steps
* lot of mfa
* begin tests
* more next steps
* auth api
* auth api (user)
* auth api (user)
* auth api (user)
* differ requests
* merge
* tests
* fix compilation error
* mock for id generator
* Update internal/user/repository/eventsourcing/model/password.go
Co-authored-by: Silvan <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-authored-by: Silvan <[email protected] >
* requests of mr
* check email
* begin separation of command and query
* otp
* change packages
* some cleanup and fixes
* tests for auth request / next steps
* add VerificationLifetimes to config and make it run
* tests
* fix code challenge validation
* cleanup
* fix merge
* begin view
* repackaging tests and configs
* fix startup config for auth
* add migration
* add PromptSelectAccount
* fix copy / paste
* remove user_agent files
* fixes
* fix sequences in user_session
* token commands
* token queries and signout
* fix
* fix set password test
* add token handler and table
* handle session init
* add session state
* add user view test cases
* change VerifyMyMfaOTP
* some fixes
* fix user repo in auth api
* cleanup
* add user session view test
* fix merge
* begin oidc
* user agent and more
* config
* keys
* key command and query
* add login statics
* key handler
* start login
* login handlers
* lot of fixes
* merge oidc
* add missing exports
* add missing exports
* fix some bugs
* authrequestid in htmls
* getrequest
* update auth request
* fix userid check
* add username to authrequest
* fix user session and auth request handling
* fix UserSessionsByAgentID
* fix auth request tests
* fix user session on UserPasswordChanged and MfaOtpRemoved
* fix MfaTypesSetupPossible
* handle mfa
* fill username
* auth request query checks new events
* fix userSessionByIDs
* fix tokens
* fix userSessionByIDs test
* add user selection
* init code
* user code creation date
* add init user step
* add verification failed types
* add verification failures
* verify init code
* user init code handle
* user init code handle
* fix userSessionByIDs
* update logging
* user agent cookie
* browserinfo from request
* add DeleteAuthRequest
* add static login files to binary
* add login statik to build
* move generate to separate file and remove statik.go files
* remove static dirs from startup.yaml
* generate into separate namespaces
* merge master
* auth request code
* auth request type mapping
* fix keys
* improve tokens
* improve register and basic styling
* fix ailerons font
* improve password reset
* add audience to token
* all oidc apps as audience
* fix test nextStep
* fix email texts
* remove "not set"
* lot of style changes
* improve copy to clipboard
* fix footer
* add cookie handler
* remove placeholders
* fix compilation after merge
* fix auth config
* remove comments
* typo
* use new secrets store
* change default pws to match default policy
* fixes
* add todo
* enable login
* fix db name
* Auth queries (#179 )
* my usersession
* org structure/ auth handlers
* working user grant spooler
* auth internal user grants
* search my project orgs
* remove permissions file
* my zitadel permissions
* my zitadel permissions
* remove unused code
* authz
* app searches in view
* token verification
* fix user grant load
* fix tests
* fix tests
* read configs
* remove unused const
* remove todos
* env variables
* app_name
* working authz
* search projects
* global resourceowner
* Update internal/api/auth/permissions.go
Co-authored-by: Livio Amstutz <[email protected] >
* Update internal/api/auth/permissions.go
Co-authored-by: Livio Amstutz <[email protected] >
* model2 rename
* at least it works
* check token expiry
* search my user grants
* remove token table from authz
Co-authored-by: Livio Amstutz <[email protected] >
* fix test
* fix ports and enable console
Co-authored-by: Fabiennne <[email protected] >
Co-authored-by: Fabi <[email protected] >
Co-authored-by: Silvan <[email protected] >
2020-06-05 07:50:04 +02:00
Livio Amstutz and GitHub
a6aba86b54
fix: setup (start admin first and ensure setup done) ( #126 )
...
* start admin first and ensure setup done
* enable login again
* log oidc client_id in setup
* more logs for setup
2020-05-25 08:21:58 +02:00
Livio Amstutz and GitHub
f14d4cc655
fix management user view and user session handler ( #124 )
2020-05-19 07:07:58 +02:00
effc2c23c2
feat: add auth command side ( #107 )
...
* fix: query tests
* fix: use prepare funcs
* fix: go mod
* fix: generate files
* fix(eventstore): tests
* fix(eventstore): rename modifier to editor
* fix(migrations): add cluster migration,
fix(migrations): fix typo of host in clean clsuter
* fix(eventstore): move health
* fix(eventstore): AggregateTypeFilter aggregateType as param
* code quality
* fix: go tests
* feat: add member funcs
* feat: add member model
* feat: add member events
* feat: add member repo model
* fix: better error func testing
* fix: project member funcs
* fix: add tests
* fix: add tests
* feat: implement member requests
* fix: merge master
* fix: merge master
* fix: read existing in project repo
* fix: fix tests
* feat: add internal cache
* feat: add cache mock
* fix: return values of cache mock
* feat: add project role
* fix: add cache config
* fix: add role to eventstore
* fix: use eventstore sdk
* fix: use eventstore sdk
* fix: add project role grpc requests
* fix: fix getby id
* fix: changes for mr
* fix: change value to interface
* feat: add app event creations
* fix: searchmethods
* Update internal/project/model/project_member.go
Co-Authored-By: Silvan <[email protected] >
* fix: use get project func
* fix: append events
* fix: check if value is string on equal ignore case
* fix: add changes test
* fix: add go mod
* fix: add some tests
* fix: return err not nil
* fix: return err not nil
* fix: add aggregate funcs and tests
* fix: add oidc aggregate funcs and tests
* fix: add oidc
* fix: add some tests
* fix: tests
* feat: eventstore repository
* fix: remove gorm
* version
* feat: pkg
* feat: eventstore without eventstore-lib
* rename files
* gnueg
* fix: global model
* feat: add global view functions
* feat(eventstore): sdk
* fix(eventstore): rename app to eventstore
* delete empty test
* fix(models): delete unused struct
* feat(eventstore): overwrite context data
* fix: use global sql config
* fix: oidc validation
* fix: generate client secret
* fix: generate client id
* fix: test change app
* fix: deactivate/reactivate application
* fix: change oidc config
* fix: change oidc config secret
* begin models
* begin repo
* fix: implement grpc app funcs
* fix: add application requests
* fix: converter
* fix: converter
* fix: converter and generate clientid
* fix: tests
* feat: project grant aggregate
* feat: project grant
* fix: project grant check if role existing
* fix: project grant requests
* fix: project grant fixes
* fix: project grant member model
* fix: project grant member aggregate
* fix: project grant member eventstore
* fix: project grant member requests
* feat: user model
* begin repo
* repo models and more
* feat: user command side
* lots of functions
* user command side
* profile requests
* commit before rebase on user
* save
* local config with gopass and more
* begin new auth command (user centric)
* Update internal/user/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/address.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/address.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/email.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/email.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/email.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/mfa.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/mfa.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/password.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/password.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/password.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/phone.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/phone.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/phone.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/usergrant/repository/eventsourcing/model/user_grant.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/usergrant/repository/eventsourcing/model/user_grant.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/usergrant/repository/eventsourcing/user_grant.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/user_test.go
Co-Authored-By: Livio Amstutz <[email protected] >
* Update internal/user/repository/eventsourcing/eventstore_mock_test.go
Co-Authored-By: Livio Amstutz <[email protected] >
* changes from mr review
* save files into basedir
* changes from mr review
* changes from mr review
* move to auth request
* Update internal/usergrant/repository/eventsourcing/cache.go
Co-authored-by: Silvan <[email protected] >
* Update internal/usergrant/repository/eventsourcing/cache.go
Co-authored-by: Silvan <[email protected] >
* changes requested on mr
* fix generate codes
* fix return if no events
* password code
* email verification step
* more steps
* lot of mfa
* begin tests
* more next steps
* auth api
* auth api (user)
* auth api (user)
* auth api (user)
* differ requests
* merge
* tests
* fix compilation error
* mock for id generator
* Update internal/user/repository/eventsourcing/model/password.go
Co-authored-by: Silvan <[email protected] >
* Update internal/user/repository/eventsourcing/model/user.go
Co-authored-by: Silvan <[email protected] >
* requests of mr
* check email
* begin separation of command and query
* otp
* change packages
* some cleanup and fixes
* tests for auth request / next steps
* add VerificationLifetimes to config and make it run
* tests
* fix code challenge validation
* cleanup
* fix merge
* begin view
* repackaging tests and configs
* fix startup config for auth
* add migration
* add PromptSelectAccount
* fix copy / paste
* remove user_agent files
* fixes
* fix sequences in user_session
* token commands
* token queries and signout
* fix
* fix set password test
* add token handler and table
* handle session init
* add session state
* add user view test cases
* change VerifyMyMfaOTP
* some fixes
* fix user repo in auth api
* cleanup
* add user session view test
* fix merge
* fixes
* Update internal/auth/repository/eventsourcing/eventstore/auth_request.go
Co-authored-by: Fabi <[email protected] >
* Update internal/auth/repository/eventsourcing/eventstore/auth_request.go
Co-authored-by: Fabi <[email protected] >
* Update internal/auth/repository/eventsourcing/eventstore/auth_request.go
Co-authored-by: Fabi <[email protected] >
* Update internal/auth/repository/eventsourcing/eventstore/auth_request.go
Co-authored-by: Fabi <[email protected] >
* extract method usersForUserSelection
* add todo for policy check
* id on auth req
* fix enum name
Co-authored-by: Fabiennne <[email protected] >
Co-authored-by: adlerhurst <[email protected] >
Co-authored-by: Fabi <[email protected] >
2020-05-18 12:06:36 +02:00
Livio Amstutz and GitHub
380e4d0643
chore: add correct upstream ( #84 )
2020-05-04 09:14:31 +02:00
livio-a and GitHub
ceace305b5
Merge pull request #20 from caos/proto-files
...
Proto files
2020-03-31 14:18:59 +02:00
livio-a and GitHub
c564f47b92
single marshaller
2020-03-30 16:53:29 +02:00
Livio Amstutz
39039dde62
fix tracing/statusFromError
2020-03-30 13:17:49 +02:00
Livio Amstutz
affd2da40a
update logging version
2020-03-30 11:57:56 +02:00
Livio Amstutz
40e4f69ca3
change context keys and fix tests
2020-03-30 11:52:08 +02:00
Livio Amstutz
96b1817d62
add multi files config test and some more
2020-03-30 11:44:17 +02:00
Livio Amstutz
e04c0116f5
refactor crypto tests
2020-03-30 11:26:02 +02:00
Livio Amstutz
106a6ec143
fix test
2020-03-30 10:09:38 +02:00
Livio Amstutz
e5e39b3a6a
remove pointer on ctxData
2020-03-30 10:06:48 +02:00
Livio Amstutz
501d453822
remove x-grpc-web header in cors
2020-03-30 09:58:55 +02:00
Livio Amstutz
59dc4dbe85
improve some functions
2020-03-30 09:28:00 +02:00
Livio Amstutz
fa750a5068
improve some functions
2020-03-30 07:23:43 +02:00
Livio Amstutz
b753e06f0b
improve some functions
2020-03-30 07:04:21 +02:00
Livio Amstutz
f5af4461ad
remove pointers on configs
2020-03-27 13:57:16 +01:00