https://rancher.com/ logo
#epinio
Title
# epinio
b

broad-dream-81849

10/06/2022, 7:04 AM
not really, because it was something more Dex/Github related, and they provide their docs around it. But I can help you on this 🙂 Maybe we could think about adding this as a tutorial/how-to/example if it's useful. After have installed Epinio you need to create a Github application, so go to your Profile > Developer Settings > Oauth Apps > New Oauth App. Name: "Whatever", Homepage: "https://auth.myepiniocluster.com", Authorization callback URL: "https://auth.myepiniocluster.com/callback" (probably for the homepage you can define the "epinio.xxxx.yy" or something else). Then take note of the ClientID and the ClientSecret. With those you need to edit the
config.yaml
inside the
dex-config
secret in the
epinio
namespace, adding a Github connector:
Copy code
connectors:
- type: github
    id: github
    name: GitHub
    config:
    clientID: my-client-id
    clientSecret: my-secret
    redirectURI: "<https://auth.myepiniocluster.com/callback>"
Then you can restart Dex to get the configuration, and you are good to go! You can probably tweak also the helm-chart values to push the dex configuration instead of manually update them, but I haven't tried it.
🙏 1
13 Views