Description

Kubernetes supports OpenID Connect (OIDC) natively as an authentication mechanism, enabling token-based user authentication. This can be configured through flags in the Kubernetes API server or by using AuthenticationConfiguration.

The purpose of this project is to enable Rancher to function as an OIDC provider, allowing Rancher's local cluster to act as an OIDC identity provider for downstream clusters. This setup will allow users to authenticate directly with downstream clusters without relying on Rancher’s proxy and impersonation mechanisms.

Rancher will continue to support all authentication providers. When a user attempts to log in via the Rancher OIDC provider, they will be redirected to the authentication provider configured in Rancher.

This approach also facilitates integration with third-party tools (e.g StackState)

Goals

  • Implement Rancher as an OIDC provider using the ORY Fosite library, focusing only on the essential functionality required for basic integration.
  • Enable downstream clusters to authenticate using JWT tokens issued by Rancher.
  • Configure StackState to authenticate using Rancher as an OIDC provider.

Resources

https://github.com/ory/fosite

Looking for hackers with the skills:

rancher

This project is part of:

Hack Week 24

Activity

  • about 16 hours ago: pjagrut joined this project.
  • 2 days ago: pjagrut liked this project.
  • 7 days ago: paulgonin liked this project.
  • 7 days ago: rcabello added keyword "rancher" to this project.
  • 7 days ago: rcabello started this project.
  • 8 days ago: moio liked this project.
  • 8 days ago: rcabello originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    A CLI for Harvester by mohamed.belgaied

    [comment]: # Harvester does not officially come...


    Introducing "Bottles": A Proof of Concept for Multi-Version CRD Management in Kubernetes by aruiz

    Description

    As we delve deeper into the c...


    Integrate Backstage with Rancher Manager by nwmacd

    Description

    Backstage (backstage.io) is a...


    Rancher/k8s Trouble-Maker by tonyhansen

    [comment]: # (Please use the project descriptio...


    Rancher microfrontend extension by ftorchia

    Description

    Rancher UI Extensions allow u...