From c1b2d8c93ab93d7ac43bcc2b8bdfc43fa1e7ab8e Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Wed, 14 Feb 2024 00:53:11 +0530 Subject: [PATCH] update instructions Signed-off-by: MUzairS15 --- content/en/cloud/self-hosted/_index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/content/en/cloud/self-hosted/_index.md b/content/en/cloud/self-hosted/_index.md index 5492f13f..d31ed6cf 100644 --- a/content/en/cloud/self-hosted/_index.md +++ b/content/en/cloud/self-hosted/_index.md @@ -59,6 +59,19 @@ helm install -f ./install/helm-chart-values/layer5-cloud-values.yaml cloud ./ins --set-file 'kratos.kratos.emailTemplates.verification.valid.body'=/valid/email-verify.body.gotmpl ``` +**3. Create an OAuth 2.0 client** +1. Port forward the Hydra Admin service. +2. ```bash + hydra clients create \ + --endpoint \ + --id meshery-cloud \ <--- ensure the id specified matches with the env.oauthclientid in values.yaml + --secret some-secret \ <--- ensure the secret specified matches with the env.oauthsecret in values.yaml + --grant-types authorization_code,refresh_token,client_credentials,implicit \ + --response-types token,code,id_token \ + --scope openid,offline,offline_access \ + --callbacks /callback + ``` + #### Customizing Layer5 Cloud's installation with values.yaml Layer5’s Helm charts support a number of configuration options. Please refer to following table of configuration options.