Skip to content
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

Introduce New Templates for Custom Authenticators #6226

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "custom-authentication",
"name": "Custom Authentication",
"description": "Enable login for users with external authentication service.",
"image": "",
"category": "DEFAULT",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by this param. What are the other available categories

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, all the available connections fall under the DEFAULT category. If we are introducing a new category with custom authentication, we would have to initiate that separately.

"displayOrder": -1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by -1. What is purpose of this parameter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to represent the order in which the card will be displayed on the connections page. -1 implied that this will not be displayed and an updated grouped template will be displayed instead.

"tags": [],
Shenali-SJ marked this conversation as resolved.
Show resolved Hide resolved
"type": "custom-authenticator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"category": "DEFAULT",
"description": "Register externally implemented authentication service.",
"displayOrder": 9,
"id": "custom-authentication",
"image": "",
"name": "Custom Authentication",
"services": [],
"disabled": false,
"templateId": "custom-authentication",
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "external-custom-authentication",
"name": "External (Federated) User Authentication",
"description": "Authenticate and provision federated users.",
"image": "",
"category": "DEFAULT",
"displayOrder": -1,
"tags": [ "CUSTOM" ],
"type": "custom-authenticator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"category": "DEFAULT",
"description": "Register externally implemented authentication service.",
"docLink": "",
"templateGroup": "custom-authentication",
"displayOrder": 1,
"id": "external-custom-authentication",
"tags": [ "Custom" ],
"image": "",
"name": "External Custom Authentication",
"services": [],
"disabled": false,
"templateId": "external-custom-authentication"
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "internal-custom-authentication",
"name": "Internal User Authentication",
"description": "Collect identifier and authenticate user accounts managed in the organization.",
"image": "",
"category": "DEFAULT",
"displayOrder": -1,
"tags": [ "Custom" ],
"type": "custom-authenticator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"category": "DEFAULT",
"description": "Register externally implemented authentication service.",
"docLink": "",
"templateGroup": "custom-authentication",
"displayOrder": 2,
"id": "internal-custom-authentication",
"tags": [ "Custom" ],
"image": "",
"name": "Internal Custom Authentication",
"services": [],
"disabled": false,
"templateId": "internal-custom-authentication"
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "twofactor-custom-authentication",
"name": "2FA Authentication",
"description": "Only verify users in a second or later step of the login flow.",
"image": "",
"category": "DEFAULT",
"displayOrder": -1,
"tags": [ "CUSTOM" ],
Shenali-SJ marked this conversation as resolved.
Show resolved Hide resolved
"type": "custom-authenticator"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"category": "DEFAULT",
"description": "Register externally implemented authentication service.",
"docLink": "",
"templateGroup": "custom-authentication",
"displayOrder": 1,
"id": "twofactor-custom-authentication",
"tags": [ "Custom" ],
"image": "",
"name": "2FA Authentication",
"services": [],
"disabled": false,
"templateId": "twofactor-custom-authentication"
}
Shenali-SJ marked this conversation as resolved.
Show resolved Hide resolved
Loading