Skip to content

Conversation

@vishvananda
Copy link
Member

This updates the factor "platform" and documentation in the following ways:

  1. Instead of exposing __REF__*_TOKEN it exposes a json representation of credentials as a *_CREDS json blob that looks like the following:
{
  "type": "oidc",
  "data": {
    "token": "file://path/to/default.token"
  }
}
  1. It allows for incoming identities to be specified in the environment as a *_CLIENT_CREDS json blob that looks like the following:
{
  "type": "oidc",
  "client_id": "default",
  "data": {
    "iss": "http://localhost:5000",
    "sub": "local",
    "aud": "default"
  }
}
  1. It uses X-Client-Id instead of X-Factor-Client-Id for the header representing the client id
  2. It allows for REJECT_UNKNOWN to be specified in the environment to control whether requests from unknown clients should be rejected with a 403 or passed through with no X-Client-Id header

@vishvananda vishvananda merged commit 5638ba4 into main Apr 2, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants