-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[entraid] store entra appId
in plugin settings
#48754
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
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]>
fe49e4b
to
d29aeed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
// app_id refers to the Azure 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 app_id = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYT about azure_app_id ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed to entra_app_id
Essential *bool `json:"essential,omitempty"` | ||
Name *string `json:"name,omitempty"` | ||
Source *string `json:"source,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Godoc would be helpful here to understand what kind of data/value are we expecting for each field. For example, what could be the possible value for Source
?
4fc0fa9
to
5a0f3dd
Compare
* [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]>
* [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. * handle code review comments --------- Signed-off-by: Tiago Silva <[email protected]>
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.