Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support function authentication with OpenFaaS IAM #158

Merged
merged 5 commits into from
Jun 17, 2024

Commits on May 2, 2024

  1. Fix authority url

    Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
    welteki committed May 2, 2024
    Configuration menu
    Copy the full SHA
    6197024 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Validate auth permissions in function claims

    Compare the auth permissions in the function claim with the function
    name and namespace the verify if the provided JWT token is authorized
    to invoke the function.
    
    Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
    welteki committed May 16, 2024
    Configuration menu
    Copy the full SHA
    a57347f View commit details
    Browse the repository at this point in the history
  2. Read function namespace from env variable or service account

    Read the function namespace from the OPENFAAS_NAMESPACE env variable.
    Fallback to getting the nemsapce from the service account if the
    variable is not present.
    
    Required setting the namespace when running functions locally with jwt_auth.
    
    Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
    welteki committed May 16, 2024
    Configuration menu
    Copy the full SHA
    7645ca4 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Include WWW-Authenticate header in 401 responses

    Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
    welteki committed May 21, 2024
    Configuration menu
    Copy the full SHA
    80051c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Move JWT auth middleware to faas-middleware package

    Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
    welteki committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    d283e2d View commit details
    Browse the repository at this point in the history