Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Update OAuth2 configuration documentation for clarity and response format #232

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 8 additions & 1 deletion docs/self-hosted/azure-devops.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ AZURE_O1_DEPLOYMENT_NAME=<o1-deployment-name>
AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]

# OAuth2 Configuration (optional)
# This will use client credentials grant flow to get an access token, and use that token in headers while making requests to AZURE_OPENAI_ENDPOINT.
# This will use client_credentials flow to get an access token,
# and use it to make requests to the LLM provider.
# It is expected that the response from the OAuth2 server will be in the format
# {
# "access_token": "<access-token>",
# "token_type": "Bearer",
# "expires_in": 3599,
# }
OAUTH2_ENDPOINT=[<endpoint>]
OAUTH2_CLIENT_ID=[<client-id>]
OAUTH2_CLIENT_SECRET=[<client-secret>]
Expand Down
9 changes: 8 additions & 1 deletion docs/self-hosted/bitbucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ AZURE_O1_DEPLOYMENT_NAME=<o1-deployment-name>
AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]

# OAuth2 Configuration (optional)
# This will use client credentials grant flow to get an access token, and use that token in headers while making requests to AZURE_OPENAI_ENDPOINT.
# This will use client_credentials flow to get an access token,
# and use it to make requests to the LLM provider.
# It is expected that the response from the OAuth2 server will be in the format
# {
# "access_token": "<access-token>",
# "token_type": "Bearer",
# "expires_in": 3599,
# }
OAUTH2_ENDPOINT=[<endpoint>]
OAUTH2_CLIENT_ID=[<client-id>]
OAUTH2_CLIENT_SECRET=[<client-secret>]
Expand Down
9 changes: 8 additions & 1 deletion docs/self-hosted/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ AZURE_O1_DEPLOYMENT_NAME=<o1-deployment-name>
AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]

# OAuth2 Configuration (optional)
# This will use client credentials grant flow to get an access token, and use that token in headers while making requests to AZURE_OPENAI_ENDPOINT.
# This will use client_credentials flow to get an access token,
# and use it to make requests to the LLM provider.
# It is expected that the response from the OAuth2 server will be in the format
# {
# "access_token": "<access-token>",
# "token_type": "Bearer",
# "expires_in": 3599,
# }
OAUTH2_ENDPOINT=[<endpoint>]
OAUTH2_CLIENT_ID=[<client-id>]
OAUTH2_CLIENT_SECRET=[<client-secret>]
Expand Down
9 changes: 8 additions & 1 deletion docs/self-hosted/gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ AZURE_O1_DEPLOYMENT_NAME=<o1-deployment-name>
AZURE_O1MINI_DEPLOYMENT_NAME=[<o1-mini-deployment-name>]

# OAuth2 Configuration (optional)
# This will use client credentials grant flow to get an access token, and use that token in headers while making requests to AZURE_OPENAI_ENDPOINT.
# This will use client_credentials flow to get an access token,
# and use it to make requests to the LLM provider.
# It is expected that the response from the OAuth2 server will be in the format
# {
# "access_token": "<access-token>",
# "token_type": "Bearer",
# "expires_in": 3599,
# }
OAUTH2_ENDPOINT=[<endpoint>]
OAUTH2_CLIENT_ID=[<client-id>]
OAUTH2_CLIENT_SECRET=[<client-secret>]
Expand Down