Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f060a10
feat(organization): add Invitations method to OrganizationAPI
bkiran6398 Jan 26, 2026
b5d8a17
feat(invitations): add commands to list organization invitations
bkiran6398 Jan 26, 2026
e70e74d
feat(invitations): add documentation for managing organization invita…
bkiran6398 Jan 27, 2026
0f9a89b
feat(organization): add CreateInvitation method to OrganizationAPI
bkiran6398 Feb 3, 2026
70d9d4c
feat(invitations): implement create invitation command and update docs
bkiran6398 Feb 3, 2026
d862ff4
feat(invitations): add delete invitation command and related function…
bkiran6398 Feb 5, 2026
04ea06e
fix(arguments): ensure if user can be prompted before fetching picker…
bkiran6398 Feb 5, 2026
f247d1a
feat(invitations): add show invitation command and related functionality
bkiran6398 Feb 5, 2026
fc538b2
feat(invitations): add aliase invs for invitations commands
bkiran6398 Feb 5, 2026
d3856fc
feat(invitations): add integration tests for organization invitations
bkiran6398 Feb 6, 2026
4812075
feat(invitations): add required scopes for organization invitations
bkiran6398 Feb 6, 2026
1489749
feat(tests): Use generic extra scopes for testing instead of organiza…
bkiran6398 Feb 6, 2026
1e11881
chore(invitations): increase retry count for organization invitation …
bkiran6398 Feb 6, 2026
615ff9c
feat(tests): add cleanup script for app identifier after deletion
bkiran6398 Feb 6, 2026
662a8d8
chore(invitations): remove TODO comment regarding additional fields i…
bkiran6398 Feb 6, 2026
f47ab10
Merge branch 'main' into manage_org_invitations
bkiran6398 Feb 6, 2026
43865dd
chore(invitations): remove the short form for the `--client-id` flag …
bkiran6398 Feb 9, 2026
11646ac
fix(invitations): update invitation retrieval method in organizationP…
bkiran6398 Feb 9, 2026
2d9319b
fix(invitations): update metadata handling in invitation creation
bkiran6398 Feb 9, 2026
563fcad
fix(invitations): enhance documentation for organization invitations
bkiran6398 Feb 9, 2026
fa021cf
chore(invitations): improve organization invitation commands
bkiran6398 Feb 10, 2026
f1774f8
fix(invitations): update invitation list has next logic
bkiran6398 Feb 10, 2026
5f74037
feat(invitations): enhance organization invitation commands to read o…
bkiran6398 Feb 10, 2026
e3bb511
chore(invitations): add an example to disable email sending for invit…
bkiran6398 Feb 10, 2026
b3a4c21
fix(invitations): remove CreatedAt field from invitations view
bkiran6398 Feb 10, 2026
85d66be
feat(invitations): add unit tests for invitationsView methods
bkiran6398 Feb 10, 2026
a7d1b7f
chore(invitations): replace auth0.String with pointer function for in…
bkiran6398 Feb 10, 2026
8a80882
feat(arguments, flags, input): introduced `PickMany` and `PickManyU` …
bkiran6398 Feb 10, 2026
7b95a0b
refactor(invitations): update invs delete to accept org and inv ids a…
bkiran6398 Feb 10, 2026
66f7755
refactor(invitations): update test commands to use org-id on invitati…
bkiran6398 Feb 10, 2026
4872f20
Merge branch 'main' into manage_org_invitations
bkiran6398 Feb 10, 2026
81421f8
refactor(invitations): update error messages and command flags
bkiran6398 Feb 10, 2026
b911d93
refactor(invitations): reorder Connection ID in invitations display
bkiran6398 Feb 10, 2026
a186416
refactor(tests): update organization invitation tests and remove unus…
bkiran6398 Feb 10, 2026
70affeb
refactor(flags, input): simplify flag multi-selection methods
bkiran6398 Feb 10, 2026
1070ee0
Merge branch 'main' into manage_org_invitations
bkiran6398 Feb 10, 2026
4664cc5
refactor(scripts): update app_id retrieval in get-org-invitation-id.sh
bkiran6398 Feb 10, 2026
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
1 change: 1 addition & 0 deletions docs/auth0_orgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The Auth0 Organizations feature best supports business-to-business (B2B) impleme

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
1 change: 1 addition & 0 deletions docs/auth0_orgs_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ auth0 orgs create [flags]

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
1 change: 1 addition & 0 deletions docs/auth0_orgs_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ auth0 orgs delete [flags]

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
16 changes: 16 additions & 0 deletions docs/auth0_orgs_invitations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
has_toc: false
has_children: true
---
# auth0 orgs invitations

Manage invitations of an organization. Invitations enable adding users to an organization by sending an email containing the join link. To learn more, read [Invite Members to Organizations](https://auth0.com/docs/manage-users/organizations/configure-organizations/invite-members).

## Commands

- [auth0 orgs invitations create](auth0_orgs_invitations_create.md) - Create a new invitation to an organization
- [auth0 orgs invitations delete](auth0_orgs_invitations_delete.md) - Delete invitation(s) from an organization
- [auth0 orgs invitations list](auth0_orgs_invitations_list.md) - List invitations of an organization
- [auth0 orgs invitations show](auth0_orgs_invitations_show.md) - Show an organization invitation

66 changes: 66 additions & 0 deletions docs/auth0_orgs_invitations_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
layout: default
parent: auth0 orgs invitations
has_toc: false
---
# auth0 orgs invitations create

Create a new invitation to an organization with required and optional parameters.

To create interactively, use `auth0 orgs invs create` with no flags and answer the prompts.

To create non-interactively, supply the organization id and the other parameters through flags.

## Usage
```
auth0 orgs invitations create [flags]
```

## Examples

```
auth0 orgs invs create
auth0 orgs invs create --org-id <org-id>
auth0 orgs invs create --org-id <org-id> --inviter-name "Inviter Name" --invitee-email "invitee@example.com"
auth0 orgs invs create --org-id <org-id> --invitee-email "invitee@example.com" --client-id "client_id"
auth0 orgs invs create --org-id <org-id> -n "Inviter Name" -e "invitee@example.com" --client-id "client_id" --connection-id "connection_id" -t 86400
auth0 orgs invs create --org-id <org-id> --json --send-email=false --inviter-name "Inviter Name"
```


## Flags

```
-a, --app-metadata string Data related to the user that affects the application's core functionality, formatted as JSON
--client-id string Auth0 client ID. Used to resolve the application's login initiation endpoint.
--connection-id string The id of the connection to force invitee to authenticate with.
-e, --invitee-email string Email address of the person being invited.
-n, --inviter-name string Name of the person sending the invitation.
--json Output in json format.
--json-compact Output in compact json format.
--org-id string ID of the organization.
-r, --roles strings Roles IDs to associate with the user.
-s, --send-email Whether to send the invitation email to the invitee. (default true)
-t, --ttl-sec int Number of seconds for which the invitation is valid before expiration.
-u, --user-metadata string Data related to the user that does not affect the application's core functionality, formatted as JSON
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 orgs invitations create](auth0_orgs_invitations_create.md) - Create a new invitation to an organization
- [auth0 orgs invitations delete](auth0_orgs_invitations_delete.md) - Delete invitation(s) from an organization
- [auth0 orgs invitations list](auth0_orgs_invitations_list.md) - List invitations of an organization
- [auth0 orgs invitations show](auth0_orgs_invitations_show.md) - Show an organization invitation


56 changes: 56 additions & 0 deletions docs/auth0_orgs_invitations_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
layout: default
parent: auth0 orgs invitations
has_toc: false
---
# auth0 orgs invitations delete

Delete invitation(s) from an organization.

To delete interactively, use `auth0 orgs invs delete` with no flags.

To delete non-interactively, supply the organization id, invitation id(s) and the `--force` flag to skip confirmation.

## Usage
```
auth0 orgs invitations delete [flags]
```

## Examples

```
auth0 orgs invs delete
auth0 orgs invs rm
auth0 orgs invs delete --org-id <org-id> --invitation-id <invitation-id>
auth0 orgs invs delete --org-id <org-id> --invitation-id <inv-id1>,<inv-id2>,<inv-id3>
auth0 orgs invs delete --org-id <org-id> --invitation-id <invitation-id> --force
```


## Flags

```
--force Skip confirmation.
-i, --invitation-id strings ID of the invitation.
--org-id string ID of the organization.
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 orgs invitations create](auth0_orgs_invitations_create.md) - Create a new invitation to an organization
- [auth0 orgs invitations delete](auth0_orgs_invitations_delete.md) - Delete invitation(s) from an organization
- [auth0 orgs invitations list](auth0_orgs_invitations_list.md) - List invitations of an organization
- [auth0 orgs invitations show](auth0_orgs_invitations_show.md) - Show an organization invitation


59 changes: 59 additions & 0 deletions docs/auth0_orgs_invitations_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
layout: default
parent: auth0 orgs invitations
has_toc: false
---
# auth0 orgs invitations list

List the invitations of an organization.

To list interactively, use `auth0 orgs invs list` with no flags.

To list non-interactively, supply the organization id through the flags.

## Usage
```
auth0 orgs invitations list [flags]
```

## Examples

```
auth0 orgs invs list
auth0 orgs invs ls --org-id <org-id>
auth0 orgs invs list --org-id <org-id> --number 100
auth0 orgs invs ls --org-id <org-id> -n 50 --json
auth0 orgs invs ls --org-id <org-id> -n 500 --json-compact
auth0 orgs invs ls --org-id <org-id> --csv
```


## Flags

```
--csv Output in csv format.
--json Output in json format.
--json-compact Output in compact json format.
-n, --number int Number of organization invitations to retrieve. Minimum 1, maximum 1000. (default 100)
--org-id string ID of the organization.
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 orgs invitations create](auth0_orgs_invitations_create.md) - Create a new invitation to an organization
- [auth0 orgs invitations delete](auth0_orgs_invitations_delete.md) - Delete invitation(s) from an organization
- [auth0 orgs invitations list](auth0_orgs_invitations_list.md) - List invitations of an organization
- [auth0 orgs invitations show](auth0_orgs_invitations_show.md) - Show an organization invitation


57 changes: 57 additions & 0 deletions docs/auth0_orgs_invitations_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
layout: default
parent: auth0 orgs invitations
has_toc: false
---
# auth0 orgs invitations show

Display information about an organization invitation.

To show interactively, use `auth0 orgs invs show` with no flags.

To show non-interactively, supply the organization id and invitation id through the flags.

## Usage
```
auth0 orgs invitations show [flags]
```

## Examples

```
auth0 orgs invs show
auth0 orgs invs show --org-id <org-id>
auth0 orgs invs show --org-id <org-id> --invitation-id <invitation-id>
auth0 orgs invs show --org-id <org-id> --invitation-id <invitation-id> --json
auth0 orgs invs show --org-id <org-id> --i <invitation-id> --json-compact
```


## Flags

```
-i, --invitation-id string ID of the invitation.
--json Output in json format.
--json-compact Output in compact json format.
--org-id string ID of the organization.
```


## Inherited Flags

```
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
```


## Related Commands

- [auth0 orgs invitations create](auth0_orgs_invitations_create.md) - Create a new invitation to an organization
- [auth0 orgs invitations delete](auth0_orgs_invitations_delete.md) - Delete invitation(s) from an organization
- [auth0 orgs invitations list](auth0_orgs_invitations_list.md) - List invitations of an organization
- [auth0 orgs invitations show](auth0_orgs_invitations_show.md) - Show an organization invitation


1 change: 1 addition & 0 deletions docs/auth0_orgs_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ auth0 orgs list [flags]

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
1 change: 1 addition & 0 deletions docs/auth0_orgs_open.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ auth0 orgs open [flags]

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
1 change: 1 addition & 0 deletions docs/auth0_orgs_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ auth0 orgs show [flags]

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
1 change: 1 addition & 0 deletions docs/auth0_orgs_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ auth0 orgs update [flags]

- [auth0 orgs create](auth0_orgs_create.md) - Create a new organization
- [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization
- [auth0 orgs invitations](auth0_orgs_invitations.md) - Manage invitations of an organization
- [auth0 orgs list](auth0_orgs_list.md) - List your organizations
- [auth0 orgs members](auth0_orgs_members.md) - Manage members of an organization
- [auth0 orgs open](auth0_orgs_open.md) - Open the settings page of an organization
Expand Down
1 change: 1 addition & 0 deletions internal/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ var RequiredScopes = []string{
"read:event_streams", "create:event_streams", "update:event_streams", "delete:event_streams",
"read:network_acls", "create:network_acls", "update:network_acls", "delete:network_acls",
"read:token_exchange_profiles", "create:token_exchange_profiles", "update:token_exchange_profiles", "delete:token_exchange_profiles",
"read:organization_invitations", "create:organization_invitations", "delete:organization_invitations",
"read:organization_discovery_domains", "read:self_service_profiles", "read:user_attribute_profiles",
}

Expand Down
Loading
Loading