Github
Github OpenID Setup
Be mindful when configuring public OpenID providers. Any user who authenticates with the provider gains access to your Kasm Workspaces deployment. Kasm group permissions can restrict access to Workspace apps and desktops, but any user of the public authentication provider can still log in to your deployment. Use a private OpenID provider unless you intend to allow access to all users of the OpenID platform provider.
This guide walks through a basic setup allowing Github users to authenticate with your Kasm deployment
Github OpenID does not support OIDC Single Logout.
Reference Docs:
Creating a Github OAuth App
- Login to Github and select Settings from the profile dropdown: https://github.com/settings/profile
- Select Developer Settings.
- Select OAuth Apps, then click New OAuth App.
- Give the application a name (e.g
Kasm), enter the URL of the deployment in the Homepage URL, and the Authorization callback to behttps://<deployment hostname>/api/oidc_callback.

- Select Register Application.
- On the next page note the Client ID. It will be needed for upcoming configurations.
- Click Generate a new client secret and note the value. It will be needed for upcoming configurations.

Kasm OpenID Config
- Log into the Kasm UI as an administrator.
- Select Access Management -> Authentication -> OpenID -> Add Config.
- Update the form with the following entries, using the Client ID and Client Secret gathered in the previous section.
| Property | Value |
|---|---|
| Enabled | Checked |
| Display Name | Continue with Github |
| Logo URL | https://github.com/favicon.ico |
| Auto Login | Unchecked |
| Hostname | <Empty> |
| Default | Checked |
| Client ID | <Client ID From Github OAuth App> |
| Client Secret | <Client Secret from Github OAuth App> |
| Authorization URL | https://github.com/login/oauth/authorize |
| Token URL | https://github.com/login/oauth/access_token |
| User Info URL | https://api.github.com/user |
| Scope | user:email |
| Username Attribute | email |
| Groups Attribute | <Empty> |
| Debug | Unchecked |
| Redirect URL | https://<Kasm hostname>/api/oidc_callback |
| OpenID Connect Issuer | Blank |
| Logout with OIDC Provider | Unchecked |
| Enable OIDC SLO Frontchannel Endpoint | Unchecked |

- Click Save to save the changes.
Github Login Test
- Logout of the Kasm to display the login screen. The OpenID configuration should be shown.
-
Click Continue with Github.
-
The user is redirected to Github. Login if necessary. The first time the user utilizes the OpenID auth, they will be prompted to accept the access requested. Select Authorize

- Upon compleation, the user is logged into the Kasm app.