Skip to content

Commit 5c84f9c

Browse files
committed
Remove leftover code bits about auth0
Thanks to @GeorgianaElena's amazing work, we no longer use auth0 for *anything*! This completely gets rid of the code we wrote to support it. YAY FOR GETTING RID OF CODE!
1 parent ec2b26e commit 5c84f9c

File tree

10 files changed

+74
-462
lines changed

10 files changed

+74
-462
lines changed

deployer/README.md

Lines changed: 67 additions & 91 deletions
Large diffs are not rendered by default.

deployer/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Import the various subcommands here, they will be automatically
22
# registered into the app
3-
import deployer.auth0_app # noqa: F401
43
import deployer.billing # noqa: F401
54
import deployer.cilogon_app # noqa: F401
65
import deployer.debug # noqa: F401

deployer/auth0_app.py

Lines changed: 0 additions & 278 deletions
This file was deleted.

docs/contributing/code-review.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ To deploy changes to the authentication workflow, follow these steps:
105105
1. **Manually deploy changes to a few kinds of staging hubs**. The hubs use different authentication mechanisms, based on their needs, but testing on the staging hubs listed below should cover all the possible types. The hubs are:
106106
- cluster: `leap`, hub: `staging` (GitHub)
107107
- cluster: `utoronto`, hub: `staging` (Azure AD)
108-
- cluster: `2i2c`, hub: `staging` (Auth0)
109-
- cluster: `2i2c`, hub: `demo` (CILogon)
108+
- cluster: `2i2c`, hub: `staging` (CILogon)
110109
1. **Login into the staging hubs**. Try logging in into the hubs where you deployed your changes.
111110
1. **Start a server**. Afer you've logged into the hub, make sure everything works as expected by spinning up a server.
112111
1. **Post the status of the manual steps above**. In your PR's top comment, post the hubs where you've deployed the changes and whether or not they are functioning properly.

docs/hub-deployment-guide/configure-auth/auth0.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

docs/hub-deployment-guide/configure-auth/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ Switching authentication providers (e.g. from GitHub to Google) for a pre-existi
1212
:caption: Authentication Providers
1313
github-orgs
1414
cilogon
15-
auth0
1615
```

docs/hub-deployment-guide/hubs/other-hub-ops/delete-hub.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ kubectl delete namespace $HUB_NAME
6969

7070
## 4. Delete the OAuth application
7171

72-
### Auth0 OAuth application
73-
74-
For each hub that uses Auth0, we create an [Application](https://auth0.com/docs/applications) in Auth0. There is a limited number of Auth0 applications available, so we should delete the one used by this hub when it's done. You should be able to see the [list of applications](https://manage.auth0.com/dashboard/us/2i2c/applications) if you login to auth0 with your 2i2c google account.
75-
7672
### GitHub OAuth application
7773

7874
For each hub that uses the JupyterHub GitHubOAuthenticator, we create a GitHub [OAuth Application](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app). You should be able to see the [list of applications created under the `2i2c` GitHub org](https://github.com/organizations/2i2c-org/settings/applications) and delete the one created for the hub that's being decommissioned.

docs/topic/infrastructure/config.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ for each hub.
1212
| - | - | - |
1313
| Upstream defaults from z2jh | z2jh maintainers | [`helm-charts/basehub/Chart.yaml`](https://github.com/2i2c-org/infrastructure/tree/HEAD/helm-charts/basehub/Chart.yaml) lists the z2jh version. Most of our configuration is directly from upstream |
1414
| [`helm-charts/basehub/values.yaml`](https://github.com/2i2c-org/infrastructure/tree/HEAD/helm-charts/basehub/values.yaml) | 2i2c engineers | Common to all hubs run from this repo |
15-
| [Deployment script](https://github.com/2i2c-org/infrastructure/tree/HEAD/deployer) | 2i2c engineers | Programmatic overrides for each type of hub, particularly around Auth0 integration and home page customization |
1615
| [`config/clusters` (previously `hubs.yaml`)](https://github.com/2i2c-org/infrastructure/tree/HEAD/config/clusters) | 2i2c engineers | There is one folder per cluster, and each cluster can have multiple hubs deployed defined by a `<hub_name>.values.yaml` file in the same folder. There is also cluster-wide config stored in a `cluster.yaml` in each cluster directory. [`config/clusters/schema.yaml`](https://github.com/2i2c-org/infrastructure/blob/HEAD/deployer/cluster.schema.yaml) contains documentation and validation information for fields in this set of configuration. |
1716
| [Configurator schema defaults](https://github.com/2i2c-org/infrastructure/tree/HEAD/helm-charts/basehub/values.yaml#L143) | 2i2c engineers | **If** there is a default set in the schema for available options in the configurator, it will always override the config elsewhere in our YAML files |
1817
| Configurator | Hub admins | If hub admins 'unset' a value, it should go to what's configured via our yaml files|

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ gspread==5.9.*
3232
# requests is used by deployer/cilogon_app.py
3333
requests==2.*
3434

35-
# auth0 is used to communicate with Auth0's REST API that we support as a deployer sub-cmd
36-
auth0-python==3.*

0 commit comments

Comments
 (0)