You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
10
+
name: 'Dependency review'
11
+
on:
12
+
pull_request:
13
+
branches: [ "main" ]
14
+
15
+
# If using a dependency submission action in this workflow this permission will need to be set to:
#### Configure Active Directory with Amazon Cognito
41
+
1. To integrate Active Directory with Amazon Cognito, follow the [A guide to AD FS federation with Amazon Cognito user pools instructions (Steps 1 to 4)](https://aws.amazon.com/blogs/security/simplify-web-app-authentication-a-guide-to-ad-fs-federation-with-amazon-cognito-user-pools/).
42
+
2. To configure SAML request signing, follow the instructions in [Signing SAML requests](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-SAML-signing-encryption.html#cognito-user-pools-SAML-signing).
43
+
3. Specify the federated identity provider and authorization by adding the following variables to the `.env.local` file, with values that match your environment.
- Scope - Scopes specifying the access privileges.
48
+
- redirectSignIn - The URL to redirect to after a successful sign-in.
49
+
- redirectSignOut - The URL to redirect to after a successful sign-out.
50
+
- responseType - The type of response to receive from the authorization server.
51
+
40
52
### Set up Clerk
41
53
1. Follow the [Sign up](https://dashboard.clerk.com/sign-in?redirect_url=https%3A%2F%2Fdashboard.clerk.com%2F) instructions to sign up for a Clerk account.
42
54
2. Download and unpack the Workload Factory GenAI sample application source package.
@@ -49,21 +61,8 @@ To get started, you need to configure one of the supported login providers. Conf
49
61
- CLERK_SECRET_KEY=YOUR_CLERK_SECRET_KEY
50
62
- NEXT_PUBLIC_CLERK_TEMPLATE=YOUR_CLERK_TEMPLATE
51
63
52
-
## Download the application
53
-
To download the application, clone the GitHub repository. Then, change to the sample application directory so that you can build or run it:
cd FSx-ONTAP-samples-scripts/AI/GenAI-ChatBot-application-sample
63
-
```
64
-
65
-
## Install dependencies
66
-
To install dependencies for the sample application, run the following command:
64
+
## Install the application
65
+
To install the sample application, run the following command:
67
66
68
67
```bash
69
68
npm install
@@ -91,21 +90,4 @@ npm run build
91
90
- Learn more about the APIs used in this sample application by visiting the [Workload Factory API documentation](https://console.workloads.netapp.com/api-doc).
92
91
- To learn more about Next.js, take a look at the following resources:
93
92
- [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API.
94
-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
95
-
96
-
## Author Information
97
-
98
-
This repository is maintained by the contributors listed on [GitHub](https://github.com/NetApp/FSx-ONTAP-samples-scripts/graphs/contributors).
99
-
100
-
## License
101
-
102
-
Licensed under the Apache License, Version 2.0 (the "License").
103
-
104
-
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
105
-
106
-
Unless required by applicable law or agreed to in writing, software distributed under the License
107
-
is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
108
-
109
-
See the License for the specific language governing permissions and limitations under the License.
0 commit comments