-
Notifications
You must be signed in to change notification settings - Fork 326
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
Update authenticator and idp management APIs #5140
base: master
Are you sure you want to change the base?
Conversation
573d7f5
to
3a8d820
Compare
id: "Y3VzdG9tQXV0aGVudGljYXRvcg" | ||
name: "customAuthenticator" | ||
displayName: "Custom auth" | ||
definedBy: "SYSTEM" |
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.
This should be 'USER' right ?
id: "QmFzaWNBdXRoZW50aWNhdG9y" | ||
name: "BasicAuthenticator" | ||
displayName: "basic" | ||
definedBy: "USER" |
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.
This should be SYSTEM
definedBy: "USER" | ||
type: "LOCAL" | ||
isEnabled: true | ||
tags: [ Custom, 2FA ] |
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.
These tags should go to the previous
properties: | ||
username: "auth_username" | ||
password: "auth_password" | ||
SystemDefinedAuthenticatorExample: |
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.
Also this sample doesn't seem to apply at /custom path
isn't it ?
- isEnabled | ||
- endpoint | ||
UserDefinedLocalAuthenticatorUpdate: | ||
description: TThis represents the configuration for updating user defined local authenticator. |
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.
typo
@@ -1239,9 +1283,20 @@ components: | |||
displayName: | |||
type: string | |||
example: basic | |||
description: | |||
type: string | |||
example: "Description for user defined local authenticator configuration." |
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.
Isn't this model commonly used for both system defined and user defined
@@ -1208,10 +1241,21 @@ components: | |||
displayName: | |||
type: string | |||
example: basic | |||
description: | |||
type: string | |||
example: "Description for user defined local authenticator configuration." |
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.
Isn't this model commonly used for both user defined and system defined ? I don't think we can give this description in that case
description: "IdP for Google Federation" | ||
image: "google-logo-url" | ||
templateId: "8ea23303-49c0-4253-b81f-82c0fe6fb4a0" | ||
isPrimary: false |
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.
This should be something custom
name: "Custom IDP" | ||
description: "IDP with custom federated authenticator" | ||
image: "https://custom-authenticator-logo-url" | ||
templateId: "8ea23303-49c0-4253-b81f-82c0fe6fb4a0" | ||
isPrimary: false | ||
isFederationHub: false | ||
homeRealmIdentifier: "" |
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.
This is for system defined IdP. Looks like you have swapped the content of two examples
userstore: "PRIMARY" | ||
associateLocalUser: true | ||
attributeSyncMethod: "OVERRIDE_ALL" |
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.
Add new line
id: "Y3VzdG9tQXV0aGVudGljYXRvcg" | ||
name: "customAuthenticator" | ||
displayName: "Custom auth" | ||
definedBy: "SYSTEM" |
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.
This should be USER
id: "QmFzaWNBdXRoZW50aWNhdG9y" | ||
name: "BasicAuthenticator" | ||
displayName: "basic" | ||
definedBy: "USER" |
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.
This should be SYSTEM
@@ -3280,4 +3389,191 @@ components: | |||
file: | |||
type: string | |||
format: binary | |||
description: file to upload |
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.
Check on this line character
authenticatorId: "Y3VzdG9tQXV0aGVudGljYXRvcg" | ||
name: "customAuthenticator" | ||
definedBy: "SYSTEM" |
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.
This should be USER
value: | ||
authenticatorId: "U0FNTDJBdXRoZW50aWNhdG9y" | ||
definedBy: "USER" |
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.
This should be SYSTEM
userstore: "PRIMARY" | ||
associateLocalUser: true | ||
attributeSyncMethod: "OVERRIDE_ALL" |
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.
Add new line
Issue:
Update the API docs on follwoing endpoints: