Pre-requisites
To configure your Chainloop instance with Ory Hydra you’ll need the following information:- Ory Hydra instance running
- Access to your OIDC provider configuration
Configure Ory Hydra
First, you’ll need to have an Ory Hydra instance running. You can follow the official documentation to set up your own instance. Then simply create a new OAuth2 client in your Ory Hydra instance. You can do this by running the following command:openid, email and profile scopes.
Relevant information that can be noted from the command signature is:
name: The name of the OAuth2 clientgrant-type: The grant type of the client it needs to be setauthorization_codeandrefresh_tokenresponse-type: The response type of the client:codescope: The scopes that the client will request:openid,email,profileredirect-uri: The redirect URI of the client: Whenever is the Chainloop instance URL plus/auth/callbackendpoint: The endpoint of the Ory Hydra instance
Configure Chainloop deployment
As explained in the deployment guide, you can configure the ODIC configurationoidc section of the values.yaml file.
Just put the information we gathered from the previous steps like this.
