Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 694 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 694 Bytes

Open ID Connect Flow for Fulcio Signing Certificates

This is an example of the fulcio OpenID connect flow.

The general idea is to return an access_token and the email via a scope.

Both values can then be made to form a POST request to fulcio for a software signing certificate

cargo run --example openidconnect --all-features

The implementation contains a redirect_listener function that will create a local listening server to incept the ID token and scopes returned from sigstores OIDC service. However should you prefer, you can implement your own redirect service and simply pass along the required values:

  • client: CoreClient,
  • nonce: Nonce,
  • pkce_verifier: PkceCodeVerifier