zitadel/internal/api/grpc
Livio Spring a07b2f4677
feat: invite user link (#8578)
# Which Problems Are Solved

As an administrator I want to be able to invite users to my application
with the API V2, some user data I will already prefil, the user should
add the authentication method themself (password, passkey, sso).

# How the Problems Are Solved

- A user can now be created with a email explicitly set to false.
- If a user has no verified email and no authentication method, an
`InviteCode` can be created through the User V2 API.
  - the code can be returned or sent through email
- additionally `URLTemplate` and an `ApplicatioName` can provided for
the email
- The code can be resent and verified through the User V2 API
- The V1 login allows users to verify and resend the code and set a
password (analog user initialization)
- The message text for the user invitation can be customized

# Additional Changes

- `verifyUserPasskeyCode` directly uses `crypto.VerifyCode` (instead of
`verifyEncryptedCode`)
- `verifyEncryptedCode` is removed (unnecessarily queried for the code
generator)

# Additional Context

- closes #8310
- TODO: login V2 will have to implement invite flow:
https://github.com/zitadel/typescript/issues/166
2024-09-11 10:53:55 +00:00
..
action feat(v3alpha): write actions (#8225) 2024-07-31 14:42:12 +02:00
admin feat: invite user link (#8578) 2024-09-11 10:53:55 +00:00
auth fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
authn chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
change refactor(fmt): run gci on complete project (#7557) 2024-04-03 10:43:43 +00:00
client/middleware refactor(fmt): run gci on complete project (#7557) 2024-04-03 10:43:43 +00:00
event refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
feature chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
gerrors fix: exclude db connection error details (#7785) 2024-04-23 08:35:25 +00:00
idp chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
instance feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00
management feat: invite user link (#8578) 2024-09-11 10:53:55 +00:00
member refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00
metadata fix(api): correct mapping of metadata queries (#7609) 2024-03-21 14:56:58 +00:00
object feat: api v2beta to api v2 (#8283) 2024-07-26 22:39:55 +02:00
oidc chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
org chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
policy feat(cnsl): docs link can be customized and custom button is available (#7840) 2024-05-13 16:01:50 +02:00
project feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
resources fix(actions-v3): check feature flag on list methods (#8595) 2024-09-11 09:43:44 +00:00
server chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
session chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
settings chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
system chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
text fix: automatically link user without prompt (#8487) 2024-08-28 05:33:20 +00:00
user feat: invite user link (#8578) 2024-09-11 10:53:55 +00:00
config.go remove pointers on configs 2020-03-27 13:57:16 +01:00
fields.go chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
header_test.go remove negated integration tags 2023-04-26 19:55:13 +03:00
header.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
probes_test.go add server reflection to Probes list 2023-05-07 16:47:43 +02:00
probes.go add server reflection to Probes list 2023-05-07 16:47:43 +02:00