Skip to content

Commit

Permalink
litmus-portal to chaoscenter in DEX
Browse files Browse the repository at this point in the history
Signed-off-by: andoriyaprashant <[email protected]>
  • Loading branch information
andoriyaprashant committed Jun 4, 2024
1 parent 5531cba commit c8d9e4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions website/docs/concepts/oauth-dex-concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Litmus portal uses two components for authentication of users:
- Authentication Server
- Dex OIDC Server (Optional)

By default litmus-portal comes with then authentication server as part of the `litmusportal-server` deployment and it allows local authentication that is based of mongo database. Client services such as `litmus-ctl` and `litmusportal-frontend` make use of this server.
By default chaoscenter comes with then authentication server as part of the `litmusportal-server` deployment and it allows local authentication that is based of mongo database. Client services such as `litmus-ctl` and `litmusportal-frontend` make use of this server.

In order to provide enhanced and seamless login features, we wanted to integrate OAuth and other authentication mechanisms such as OpenID connect. To have flexibility, litmus-portal makes use of an additional component, [Dex OIDC server](https://dexidp.io/).
In order to provide enhanced and seamless login features, we wanted to integrate OAuth and other authentication mechanisms such as OpenID connect. To have flexibility, chaoscenter makes use of an additional component, [Dex OIDC server](https://dexidp.io/).

Dex is a highly extensible cloud-native OIDC provider that is able to take care of various authentication mechanisms. With Dex being deployed, the authentication-server can communicate with the dex-server, enabling integration of various OAuth providers. GitHub and Google auth has been tested at present.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Make sure you have your Google and GitHub Client credentials ready, if you do no
### Configuring Dex OIDC provider

```bash
curl https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/dex-server/dex-deployment.yaml --output dex-deployment.yaml
curl https://raw.githubusercontent.com/litmuschaos/litmus/master/chaoscenter/dex-server/dex-deployment.yaml --output dex-deployment.yaml
```

1. Open the file with your favorite text-editor
Expand Down Expand Up @@ -138,8 +138,8 @@ Under `auth-server`, verify if the `DEX_ENABLED` variables are set
Ports: 3000/TCP, 3030/TCP
Host Ports: 0/TCP, 0/TCP
Environment Variables from:
litmus-portal-admin-config ConfigMap Optional: false
litmus-portal-admin-secret Secret Optional: false
chaoscenter-admin-config ConfigMap Optional: false
chaoscenter-admin-secret Secret Optional: false
Environment:
STRICT_PASSWORD_POLICY: false
ADMIN_USERNAME: admin
Expand Down

0 comments on commit c8d9e4c

Please sign in to comment.