Skip to content

Commit fd6e6d7

Browse files
authored
Update OAuth2 configuration with additional parameters and links (#239)
1 parent f6ba6dd commit fd6e6d7

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

Diff for: docs/self-hosted/azure-devops.md

+7
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
7272
# OAuth2 Configuration (optional)
7373
# This will use client_credentials flow to get an access token,
7474
# and use it to make requests to the LLM provider.
75+
# Here is more information on this flow: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#first-case-access-token-request-with-a-shared-secret
7576
# It is expected that the response from the OAuth2 server will be in the format
7677
# {
7778
# "access_token": "<access-token>",
@@ -81,6 +82,9 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
8182
OAUTH2_ENDPOINT=[<endpoint>]
8283
OAUTH2_CLIENT_ID=[<client-id>]
8384
OAUTH2_CLIENT_SECRET=[<client-secret>]
85+
OAUTH2_SCOPE=[<oauth2-scope>]
86+
87+
HTTPS_PROXY=[<https-proxy-url>]
8488

8589
# if using AWS Bedrock
8690
LLM_PROVIDER=bedrock-anthropic
@@ -106,6 +110,9 @@ JIRA_HOST=[<jira-host-url>]
106110
JIRA_PAT=[<jira-personal-access-token>]
107111

108112
LINEAR_PAT=[<linear-personal-access-token>]
113+
114+
ENABLE_WEB_SEARCH=[true]
115+
PERPLEXITY_API_KEY=[<perplexity-api-key>]
109116
```
110117

111118
:::note

Diff for: docs/self-hosted/bitbucket.md

+7
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
6464
# OAuth2 Configuration (optional)
6565
# This will use client_credentials flow to get an access token,
6666
# and use it to make requests to the LLM provider.
67+
# Here is more information on this flow: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#first-case-access-token-request-with-a-shared-secret
6768
# It is expected that the response from the OAuth2 server will be in the format
6869
# {
6970
# "access_token": "<access-token>",
@@ -73,6 +74,9 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
7374
OAUTH2_ENDPOINT=[<endpoint>]
7475
OAUTH2_CLIENT_ID=[<client-id>]
7576
OAUTH2_CLIENT_SECRET=[<client-secret>]
77+
OAUTH2_SCOPE=[<oauth2-scope>]
78+
79+
HTTPS_PROXY=[<https-proxy-url>]
7680

7781
# if using AWS Bedrock
7882
LLM_PROVIDER=bedrock-anthropic
@@ -101,6 +105,9 @@ JIRA_HOST=[<jira-host-url>]
101105
JIRA_PAT=[<jira-personal-access-token>]
102106

103107
LINEAR_PAT=[<linear-personal-access-token>]
108+
109+
ENABLE_WEB_SEARCH=[true]
110+
PERPLEXITY_API_KEY=[<perplexity-api-key>]
104111
```
105112

106113
:::note

Diff for: docs/self-hosted/github.md

+7
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
7575
# OAuth2 Configuration (optional)
7676
# This will use client_credentials flow to get an access token,
7777
# and use it to make requests to the LLM provider.
78+
# Here is more information on this flow: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#first-case-access-token-request-with-a-shared-secret
7879
# It is expected that the response from the OAuth2 server will be in the format
7980
# {
8081
# "access_token": "<access-token>",
@@ -84,6 +85,9 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
8485
OAUTH2_ENDPOINT=[<endpoint>]
8586
OAUTH2_CLIENT_ID=[<client-id>]
8687
OAUTH2_CLIENT_SECRET=[<client-secret>]
88+
OAUTH2_SCOPE=[<oauth2-scope>]
89+
90+
HTTPS_PROXY=[<https-proxy-url>]
8791

8892
# if using AWS Bedrock
8993
LLM_PROVIDER=bedrock-anthropic
@@ -119,6 +123,9 @@ JIRA_HOST=[<jira-host-url>]
119123
JIRA_PAT=[<jira-personal-access-token>]
120124

121125
LINEAR_PAT=[<linear-personal-access-token>]
126+
127+
ENABLE_WEB_SEARCH=[true]
128+
PERPLEXITY_API_KEY=[<perplexity-api-key>]
122129
```
123130

124131
:::note

Diff for: docs/self-hosted/gitlab.md

+7
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
7070
# OAuth2 Configuration (optional)
7171
# This will use client_credentials flow to get an access token,
7272
# and use it to make requests to the LLM provider.
73+
# Here is more information on this flow: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#first-case-access-token-request-with-a-shared-secret
7374
# It is expected that the response from the OAuth2 server will be in the format
7475
# {
7576
# "access_token": "<access-token>",
@@ -79,6 +80,9 @@ AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]
7980
OAUTH2_ENDPOINT=[<endpoint>]
8081
OAUTH2_CLIENT_ID=[<client-id>]
8182
OAUTH2_CLIENT_SECRET=[<client-secret>]
83+
OAUTH2_SCOPE=[<oauth2-scope>]
84+
85+
HTTPS_PROXY=[<https-proxy-url>]
8286

8387
# if using AWS Bedrock
8488
LLM_PROVIDER=bedrock-anthropic
@@ -110,6 +114,9 @@ JIRA_HOST=[<jira-host-url>]
110114
JIRA_PAT=[<jira-personal-access-token>]
111115

112116
LINEAR_PAT=[<linear-personal-access-token>]
117+
118+
ENABLE_WEB_SEARCH=[true]
119+
PERPLEXITY_API_KEY=[<perplexity-api-key>]
113120
```
114121

115122
:::note

0 commit comments

Comments
 (0)