Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions docs/extensions/rucio-jupyterlab/authentication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Authentication workflow

The following files are responsible for the authentication workflow:

```
.
├── rucio_jupyterlab
│ ├── handlers
│ │ ├── auth_config.py
│ │ ├── handlers.py
│ ├── rucio
│ │ ├── authenticators.py
├── src
│ ├── components
│ │ ├── @Settings
│ │ │ ├── OIDCAuth.tsx
│ │ │ ├── SettingsTab.tsx
│ │ │ ├── UserPassAuth.tsx
│ │ │ ├── X509Auth.tsx
│ │ │ └── X509ProxyAuth.tsx
│ ├── types.ts
│ ├── utils
│ │ ├── Actions.tsx
│ │ ├── ApiRequest.ts
```
Below is an example of the authentication workflow:

![image](../../../static/img/auth-workflow.png)

---

:::tip[Improving credentials validation]
Please look at: [jupyterlab-extension!71](https://github.com/rucio/jupyterlab-extension/pull/71)
```
Validation and authentication improvements, logging enhancements:

- Refactoring of the request URL construction in the API request function.
- Addition of OIDC token validation with related UI and API handling.
- Improved logging and error handling in authentication and handler modules.

```
:::
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@docusaurus/theme-live-codeblock": "^3.7.0",
"@docusaurus/core": "3.8.0",
"@docusaurus/preset-classic": "3.8.0",
"@docusaurus/theme-live-codeblock": "^3.8.0",
"@fortawesome/fontawesome-free": "^6.7.2",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
Expand All @@ -25,8 +25,8 @@
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.7.0",
"@docusaurus/types": "3.7.0"
"@docusaurus/module-type-aliases": "3.8.0",
"@docusaurus/types": "3.8.0"
},
"browserslist": {
"production": [
Expand Down
5 changes: 5 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ const sidebars = {
type: 'doc',
label: 'Monitoring',
id: 'extensions/rucio-jupyterlab/monitoring',
},
{
type: 'doc',
label: 'Authentication workflow',
id: 'extensions/rucio-jupyterlab/authentication',
}
],

Expand Down
Binary file added static/img/auth-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.