Skip to content

Commit

Permalink
[entraid] store entra appId in plugin settings (#48754)
Browse files Browse the repository at this point in the history
* [entraid] store entra `appId` in plugin settings

This PR stores the Entra ID appID of the application used for SSO in Entra ID plugin settings.
This field filled in a best effort scenario and might be empty for old Entra Plugins.
Newly created plugins will make the field mandatory.

Signed-off-by: Tiago Silva <[email protected]>

* handle code review comments

---------

Signed-off-by: Tiago Silva <[email protected]>
  • Loading branch information
tigrato committed Nov 12, 2024
1 parent 7060323 commit 833d7c4
Show file tree
Hide file tree
Showing 5 changed files with 1,823 additions and 1,747 deletions.
5 changes: 5 additions & 0 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6243,6 +6243,11 @@ message PluginEntraIDSyncSettings {
// This field is populated on a best-effort basis for legacy plugins but mandatory for plugins created after its introduction.
// For existing plugins, it is filled in using the Entra integration when utilized.
string tenant_id = 4;

// entra_app_id refers to the Entra Application ID that supports the SSO for "sso_connector_id".
// This field is populated on a best-effort basis for legacy plugins but mandatory for plugins created after its introduction.
// For existing plugins, it is filled in using the entity descriptor url when utilized.
string entra_app_id = 5;
}

// EntraIDCredentialsSource defines the credentials source for Entra ID.
Expand Down
Loading

0 comments on commit 833d7c4

Please sign in to comment.