A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://help.github.com/en/copilot/how-tos/use-copilot-extensions/set-up-oidc below:

Setting up OIDC for your GitHub Copilot extension

Learn how to set up OpenID Connect (OIDC) with your Copilot Extension to enhance security.

Introduction

You can set up OIDC so that Copilot agents and skillsets can more securely authenticate users and access cloud resources. For more information on OIDC, see OpenID Connect (OIDC) for GitHub Copilot Extensions.

There are three steps to setting up OIDC for your extension.

Configure your token exchange endpoint

Create an endpoint in your service that conforms to the RFC 8693 OAuth 2.0 Token Exchange. This endpoint should:

Enable OIDC in your Copilot Extension's settings

In your Copilot Extension's configuration, enable OIDC:

  1. In the upper-right corner of any page on GitHub, click your profile picture.

  2. Navigate to your account settings.

  3. In the left sidebar, click Developer settings.

  4. In the left sidebar, click GitHub Apps.

  5. To the right of the GitHub App you want to configure for your Copilot Extension, click Edit.

  6. In the left sidebar, click Copilot.

  7. Under OpenID Connect Token Exchange, check Enabled.

  8. In the Token exchange endpoint field, input your token exchange URL.

  9. In the Request header key field, input the header key for your service's token. The default is Authorization.

  10. In the Request header value field, input the header value format. The default is Bearer ${token}.

Validate OIDC tokens

Your token exchange endpoint should validate the GitHub OIDC token by following the steps below:

  1. Fetch the JSON Web Key Set (JWKS) from https://github.com/login/oauth/.well-known/openid-configuration.
  2. Verify the token signature.
  3. Validate required claims.
Troubleshooting

The following sections outline common problems and best practices for implementing OIDC for your Copilot Extension.

Token validation errors Token exchange failures Performance issues Further reading

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4