Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
7348b24
Initial commit with the plugin functionality
jredrejo Sep 20, 2019
eb2ad85
Doc in README.md
jredrejo Sep 20, 2019
a2b6a2a
Fix typo in README.md
jredrejo Sep 20, 2019
8dccd41
Building preparation for the plugin
jredrejo Sep 23, 2019
2772a50
Include assets in the dist phony
jredrejo Sep 23, 2019
0313cb9
Finishing wheel configuration
jredrejo Sep 25, 2019
61ed501
Finished working version of the plugin
jredrejo Sep 26, 2019
4d85170
Fix pypi package description and version
jredrejo Sep 26, 2019
b3fe8cd
Documentation updated
jredrejo Nov 19, 2019
9907636
Allow more efficient auto-discovery of plugin.
rtibbles Nov 24, 2019
155ca47
Update __init__.py
jredrejo Nov 25, 2019
baec5ce
Merge pull request #1 from learningequality/rtibbles-patch-1
indirectlylit Nov 25, 2019
8027d73
Update README.md
rtibbles Dec 16, 2019
9ee0fa6
update readme
indirectlylit Jan 21, 2020
54f83e6
Merge pull request #2 from indirectlylit/master
jredrejo Jan 21, 2020
4d06cc3
New options to set some of the oidc endpoints when they are not standard
jredrejo Feb 28, 2020
c8125ba
Update README.md
jredrejo Mar 2, 2020
56193f6
Update README.md part2
jredrejo Mar 2, 2020
fc072c8
Applied black formatting
jredrejo Apr 27, 2020
10ea87c
Fix doc typo
Jun 18, 2020
adaaf3c
Merge pull request #4 from learningequality/add_more_options
jredrejo Jul 8, 2020
759e5f7
Fixes in the building tools
Jul 8, 2020
21f9fbf
Added logout option
Jul 9, 2020
ce5ad02
Add example to the documentation
Jul 9, 2020
aa74811
Add more fields to the user creation and add roles if they are provided
jredrejo Feb 28, 2020
3de1c46
Update README.md wording
jredrejo Mar 2, 2020
8600730
Apply black formatting
jredrejo Mar 2, 2020
a5bb307
correct handling of gender and year of birth
jredrejo Mar 4, 2020
d4fd814
Finish creation of roles and fields
Jul 9, 2020
023de3c
improve README formatting
Jul 10, 2020
4b8b112
README typo
Jul 10, 2020
e5d9104
Fix link and svg alignments
Jul 10, 2020
ea80045
Merge branch 'add_roles_when_creating_user' into release-v0.0.3
Jul 10, 2020
4ddabbb
Merge branch 'fix_alignment' into release-v0.0.3
Jul 10, 2020
cd2ebf4
Merge pull request #5 from learningequality/add_roles_when_creating_user
indirectlylit Jul 13, 2020
225fb4a
Merge pull request #7 from learningequality/logout_option
indirectlylit Jul 13, 2020
458e7ba
Fix link and svg alignments
Jul 10, 2020
065800a
update gitignore
indirectlylit Jul 13, 2020
5483e53
Merge pull request #8 from learningequality/fix_alignment
indirectlylit Jul 13, 2020
d7998e4
Revert back way to set default values in SETTINGS
Jul 28, 2020
cc6e01e
typo fixed
Jul 28, 2020
facf1d7
Changes to make the plugin compatible with kolibri 0.15
Oct 25, 2022
2705dc4
Added yarn.lock file
Oct 25, 2022
14d43c7
Merge pull request #10 from learningequality/0.15-compatibility
jredrejo Oct 27, 2022
8dffe0d
Solved merge conflict
Oct 27, 2022
8d9638a
Bump eventsource from 1.0.7 to 1.1.2 in /kolibri_oidc_client_plugin
dependabot[bot] Oct 27, 2022
d94b531
Bump shell-quote from 1.7.2 to 1.7.4 in /kolibri_oidc_client_plugin
dependabot[bot] Oct 27, 2022
2ffc222
Bump terser from 4.6.2 to 4.8.1 in /kolibri_oidc_client_plugin
dependabot[bot] Oct 27, 2022
6be4906
Merge pull request #11 from learningequality/dependabot/npm_and_yarn/…
rtibbles Oct 31, 2022
211da10
Merge pull request #12 from learningequality/dependabot/npm_and_yarn/…
rtibbles Oct 31, 2022
1e5e14f
Merge pull request #13 from learningequality/dependabot/npm_and_yarn/…
rtibbles Oct 31, 2022
0417a6a
Clean up and add automated release actions.
rtibbles Nov 1, 2022
84f08bc
Prevent gpg from checking for tty input.
rtibbles Nov 1, 2022
ce8639f
Use ubuntu-22.04.
rtibbles Nov 1, 2022
728d38b
Update python version for pypi upload to 3.9.
rtibbles Nov 1, 2022
ff0899d
Set env var for gpg key id and set for signing.
rtibbles Nov 1, 2022
0883f5f
Set env var properly.
rtibbles Nov 1, 2022
a32a89f
Ensure to quote passphrase.
rtibbles Nov 1, 2022
be5104d
Explicitly upload signature files.
rtibbles Nov 1, 2022
ad2785c
Bump version.
rtibbles Nov 1, 2022
3a40dab
Undo unnecessary explicit twine upload.
rtibbles Nov 2, 2022
207b122
Bump deep-object-diff from 1.1.7 to 1.1.9
dependabot[bot] Nov 17, 2022
f8b3635
Bump decode-uri-component from 0.2.0 to 0.2.2
dependabot[bot] Dec 9, 2022
ae13e94
Bump qs from 6.5.2 to 6.5.3
dependabot[bot] Dec 9, 2022
36f3b15
Merge pull request #17 from learningequality/dependabot/npm_and_yarn/…
jredrejo Dec 10, 2022
b6c87c8
Bump express from 4.17.1 to 4.18.2
dependabot[bot] Dec 10, 2022
ab72b12
Merge pull request #16 from learningequality/dependabot/npm_and_yarn/…
jredrejo Dec 10, 2022
acdad20
Merge pull request #18 from learningequality/dependabot/npm_and_yarn/…
jredrejo Dec 10, 2022
70e46cc
Merge pull request #14 from learningequality/dependabot/npm_and_yarn/…
jredrejo Dec 10, 2022
2772f73
Bump ua-parser-js from 0.7.31 to 0.7.33
dependabot[bot] Jan 27, 2023
30b7904
Create dependabot.yml
rtibbles Jan 27, 2023
42308d6
Merge pull request #19 from learningequality/dependabot/npm_and_yarn/…
jredrejo Jan 27, 2023
817d5f7
Update dependabot.yml
rtibbles May 3, 2023
dcff9d6
Bump actions/cache from 2 to 3
dependabot[bot] May 3, 2023
24a6b69
Bump actions/download-artifact from 2 to 3
dependabot[bot] May 3, 2023
23d6417
Bump actions/checkout from 2 to 3
dependabot[bot] May 3, 2023
117ef06
Bump actions/upload-artifact from 2 to 3
dependabot[bot] May 3, 2023
fe2d5c0
Merge pull request #21 from learningequality/dependabot/github_action…
rtibbles May 3, 2023
e005e69
Bump actions/setup-node from 1 to 3
dependabot[bot] May 3, 2023
c8820a4
Merge pull request #22 from learningequality/dependabot/github_action…
rtibbles May 3, 2023
c683414
Merge pull request #23 from learningequality/dependabot/github_action…
rtibbles May 3, 2023
7b3dda9
Merge pull request #24 from learningequality/dependabot/github_action…
rtibbles May 3, 2023
2d606ac
Merge pull request #26 from learningequality/dependabot/github_action…
rtibbles May 3, 2023
ca78883
Bump actions/setup-python from 2 to 4
dependabot[bot] May 3, 2023
59efb1a
Merge pull request #25 from learningequality/dependabot/github_action…
rtibbles May 3, 2023
d912e87
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 20, 2023
4f96426
Merge pull request #28 from learningequality/dependabot/npm_and_yarn/…
jredrejo Jul 20, 2023
e3aa3f7
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 5, 2023
07f5b9e
Merge pull request #29 from learningequality/dependabot/github_action…
jredrejo Sep 5, 2023
8a34897
Bump @babel/traverse from 7.7.4 to 7.23.2
dependabot[bot] Oct 17, 2023
dd737bc
Adaptations for the plugin to work with kolibri 0.16
Oct 20, 2023
1bc572a
Revert vue version to 2.6.14 for full kolibri compatibility
Oct 23, 2023
6699f71
Merge pull request #32 from learningequality/kolibri_0.16.x_compatibi…
jredrejo Oct 23, 2023
08950f1
Bump semver from 5.7.1 to 5.7.2
dependabot[bot] Oct 23, 2023
ffe4335
Bump loader-utils from 1.2.3 to 1.4.2
dependabot[bot] Oct 23, 2023
83cb8fe
Bump actions/setup-node from 3 to 4
dependabot[bot] Oct 24, 2023
dee65f9
Bump lodash from 4.17.15 to 4.17.21
dependabot[bot] Oct 25, 2023
c84e98e
Bump browserify-sign from 4.0.4 to 4.2.2
dependabot[bot] Oct 27, 2023
38e879f
Bump @adobe/css-tools from 4.3.1 to 4.3.2
dependabot[bot] Dec 1, 2023
e959247
Bump actions/setup-python from 4 to 5
dependabot[bot] Dec 7, 2023
4e5e4ad
Merge pull request #39 from learningequality/dependabot/github_action…
jredrejo Dec 7, 2023
47b3571
Bump actions/download-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
a5c39a7
Bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
e738631
Merge pull request #41 from learningequality/dependabot/github_action…
jredrejo Dec 15, 2023
f0eaff1
Merge pull request #40 from learningequality/dependabot/github_action…
jredrejo Dec 15, 2023
63c9061
Bump actions/cache from 3 to 4
dependabot[bot] Jan 18, 2024
e62f43c
Merge pull request #43 from learningequality/dependabot/github_action…
jredrejo Jan 18, 2024
b45bc47
Bump ip from 2.0.0 to 2.0.1
dependabot[bot] Feb 21, 2024
49c42e4
Merge pull request #44 from learningequality/dependabot/npm_and_yarn/…
jredrejo Feb 22, 2024
56f25e2
Merge pull request #38 from learningequality/dependabot/npm_and_yarn/…
jredrejo Mar 14, 2024
919961f
Merge pull request #37 from learningequality/dependabot/npm_and_yarn/…
jredrejo Mar 14, 2024
03e4335
Merge pull request #36 from learningequality/dependabot/npm_and_yarn/…
jredrejo Mar 14, 2024
43607a7
Merge pull request #35 from learningequality/dependabot/github_action…
jredrejo Mar 14, 2024
aab2b66
Merge pull request #33 from learningequality/dependabot/npm_and_yarn/…
jredrejo Mar 14, 2024
d647ad2
Merge pull request #34 from learningequality/dependabot/npm_and_yarn/…
jredrejo Mar 14, 2024
86c8841
Bump minimatch from 3.0.4 to 3.0.8
dependabot[bot] Mar 14, 2024
d07165d
Bump webpack-dev-middleware from 5.3.3 to 5.3.4
dependabot[bot] Mar 23, 2024
33e8018
Bump express from 4.18.2 to 4.19.2
dependabot[bot] Mar 28, 2024
5647115
Merge pull request #48 from learningequality/dependabot/npm_and_yarn/…
jredrejo Mar 30, 2024
5b4f456
Bump tar from 6.2.0 to 6.2.1
dependabot[bot] Apr 11, 2024
57ba97c
Merge pull request #49 from learningequality/dependabot/npm_and_yarn/…
jredrejo Apr 11, 2024
a416bba
Merge pull request #47 from learningequality/dependabot/npm_and_yarn/…
jredrejo May 27, 2024
0685b73
Merge pull request #46 from learningequality/dependabot/npm_and_yarn/…
jredrejo May 27, 2024
97f8ae1
Bump ws from 8.14.2 to 8.17.1
dependabot[bot] Jun 18, 2024
a275f53
Merge pull request #51 from learningequality/dependabot/npm_and_yarn/…
jredrejo Jun 19, 2024
0ede359
Bump express from 4.19.2 to 4.21.0
dependabot[bot] Sep 21, 2024
51e3643
Merge pull request #53 from learningequality/dependabot/npm_and_yarn/…
jredrejo Sep 23, 2024
3e4ae38
Bump elliptic from 6.5.2 to 6.5.7
dependabot[bot] Sep 23, 2024
7eafd31
Bump webpack from 4.43.0 to 4.44.0
dependabot[bot] Sep 23, 2024
88f089f
Merge pull request #55 from learningequality/dependabot/npm_and_yarn/…
jredrejo Sep 23, 2024
22aef23
Merge pull request #54 from learningequality/dependabot/npm_and_yarn/…
jredrejo Sep 23, 2024
c170d01
Bump http-proxy-middleware from 2.0.6 to 2.0.7
dependabot[bot] Oct 27, 2024
4d09b8f
Merge pull request #57 from learningequality/dependabot/npm_and_yarn/…
jredrejo Oct 28, 2024
14d847f
Bump elliptic from 6.5.7 to 6.6.0
dependabot[bot] Oct 31, 2024
c714f26
Remove use of deprecated set-output
rtibbles Nov 6, 2024
d23c77c
Merge pull request #59 from learningequality/rtibbles-patch-1
rtibbles Nov 7, 2024
f83a9e8
Merge pull request #58 from learningequality/dependabot/npm_and_yarn/…
rtibbles Nov 7, 2024
c28e08b
Bump nanoid from 3.3.6 to 3.3.8
dependabot[bot] Dec 13, 2024
eed717f
Merge pull request #60 from learningequality/dependabot/npm_and_yarn/…
jredrejo Dec 14, 2024
29b0c8e
Bump http-proxy-middleware from 2.0.7 to 2.0.9
dependabot[bot] Apr 29, 2025
b1ead61
Bump actions/download-artifact from 4 to 5
dependabot[bot] Aug 6, 2025
6c94542
Bump sha.js from 2.4.11 to 2.4.12
dependabot[bot] Aug 21, 2025
82d0a76
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 5, 2025
a15aab9
Bump actions/setup-node from 4 to 5
dependabot[bot] Sep 5, 2025
9579366
Merge pull request #67 from learningequality/dependabot/github_action…
rtibbles Sep 5, 2025
aaf8ab9
Merge pull request #68 from learningequality/dependabot/github_action…
rtibbles Sep 5, 2025
36f4d64
Merge pull request #66 from learningequality/dependabot/npm_and_yarn/…
rtibbles Sep 5, 2025
10268b8
Merge pull request #64 from learningequality/dependabot/github_action…
rtibbles Sep 5, 2025
21a6216
Bump actions/checkout from 4 to 5
dependabot[bot] Sep 5, 2025
e360d91
Bump cipher-base from 1.0.4 to 1.0.6
dependabot[bot] Sep 5, 2025
396b669
Merge pull request #61 from learningequality/dependabot/npm_and_yarn/…
rtibbles Sep 5, 2025
f3d3a8b
Merge pull request #69 from learningequality/dependabot/npm_and_yarn/…
rtibbles Sep 5, 2025
f0f7636
Merge pull request #65 from learningequality/dependabot/github_action…
rtibbles Sep 5, 2025
5843960
Bump elliptic from 6.6.0 to 6.6.1
dependabot[bot] Sep 5, 2025
ae1bd78
Bump pbkdf2 from 3.0.17 to 3.1.3
dependabot[bot] Sep 5, 2025
4bb5ede
Merge pull request #62 from learningequality/dependabot/npm_and_yarn/…
rtibbles Sep 5, 2025
d841095
Merge pull request #70 from learningequality/dependabot/npm_and_yarn/…
rtibbles Sep 5, 2025
9134d5d
Bump form-data from 4.0.0 to 4.0.4
dependabot[bot] Sep 5, 2025
e3b5f6a
Merge pull request #63 from learningequality/dependabot/npm_and_yarn/…
rtibbles Sep 5, 2025
1c64997
Merge remote-tracking branch 'oidc-history/master' into issue-14948-0…
rtibblesbot Jul 3, 2026
79ab947
Remove kolibri-oidc-client-plugin's standalone-repo-only files
rtibblesbot Jul 3, 2026
157b2ba
Package kolibri-oidc-client-plugin for the uv workspace
rtibblesbot Jul 3, 2026
2df5ebf
Add kolibri-oidc-client-plugin to the pnpm workspace
rtibblesbot Jul 3, 2026
db83499
Render OIDC login button with KExternalLink instead of stale CSS classes
rtibblesbot Jul 3, 2026
a4fab4a
Fix kolibri-sentry-plugin's package.json to workspace/catalog convent…
rtibblesbot Jul 3, 2026
1defdf9
Register kolibri-sentry-plugin and kolibri-oidc-client-plugin for PyP…
rtibblesbot Jul 3, 2026
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
4 changes: 4 additions & 0 deletions .github/workflows/pypi_packages_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- develop
paths:
- 'python_packages/kolibri-sync-extras-plugin/pyproject.toml'
- 'python_packages/kolibri-sentry-plugin/pyproject.toml'
- 'python_packages/kolibri-oidc-client-plugin/pyproject.toml'
workflow_dispatch:
inputs:
pypi_package:
Expand All @@ -15,6 +17,8 @@ on:
options:
- 'all'
- 'kolibri-sync-extras-plugin'
- 'kolibri-sentry-plugin'
- 'kolibri-oidc-client-plugin'
target:
description: 'Index to publish to'
required: true
Expand Down
123 changes: 122 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ packages:
- packages/*
- kolibri/core
- kolibri/plugins/*
- python_packages/*
catalog:
"@testing-library/jest-dom": ^6.6.4
"@testing-library/user-event": ^14.6.1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ max-line-length = 160
max-complexity = 10

[tool.ruff.lint.isort]
known-first-party = ["kolibri", "kolibri_sync_extras_plugin", "kolibri_sentry_plugin"]
known-first-party = ["kolibri", "kolibri_sync_extras_plugin", "kolibri_sentry_plugin", "kolibri_oidc_client_plugin"]
# Match the prior reorder-python-imports style: one import per line,
# sorted case-insensitively rather than grouped by type.
force-single-line = true
Expand Down
2 changes: 2 additions & 0 deletions python_packages/kolibri-oidc-client-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# webpack built files
**/static/*
143 changes: 143 additions & 0 deletions python_packages/kolibri-oidc-client-plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@

# Kolibri OpenID Connect Client plugin

## What is this?

Kolibri is a Learning Management System / Learning App designed to run on low-power devices, targeting the needs of learners and teachers in contexts with limited infrastructure. See [learningequality.org/kolibri](https://learningequality.org/kolibri/) for more info.

OpenID Connect (OIDC) is a simple identity layer on top of the OAuth 2.0 protocol. It allows Clients to verify the identity of the End-User based on the authentication performed by an Authorization Server, as well as to obtain basic profile information about the End-User in an interoperable and REST-like manner.). See [openid.net/connect/faq](https://openid.net/connect/faq/) for more info.

This package provides Kolibri users with the ability to authenticate against an OpenID provider. This is usually a need when integrating it with another applications sharing a single-sign-on (SSO) authentication.


## How can I install this plugin?

After installing kolibri normally,

1. Install the plugin: `pip install kolibri-oidc-client-plugin`
2. Activate the plugin for kolibri: `kolibri plugin enable kolibri_oidc_client_plugin`
3. Configure the information from the OIDC provider as explained below
4. Restart Kolibri


## How can I install this plugin for development?

From the root of the `kolibri` monorepo:

```bash
uv sync --all-packages
uvx prek install
pnpm install
KOLIBRI_HOME="$(pwd)/.kolibri" uv run kolibri plugin enable kolibri_oidc_client_plugin
```


## How to publish to PyPi?

Publishing is automated by the `pypi_packages_publish.yml` GitHub Actions workflow, and runs when this plugin's `pyproject.toml` version is bumped.


## Used claims

This plugin will create a new user in the Kolibri database after it authenticates using the OIDC provider.
From the [standard OIDC claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) the plugin will fetch the following fields and add the information to the Kolibri user database:

- `nickname` (or `username`) **IMPORTANT**: If kolibri >= 0.16 is used, emails can be used as `username`
- `given_name`
- `family_name`
- `email`
- `birthdate`
- `gender`

In case `birthdate`is provided, the accepted format is [ISO8601‑2004] YYYY-MM-DD. However Kolibri only stores the year of birth.

Apart from these standard claims, the plugin will accept a `roles` in the user_info token provided as a list. Allowed roles are only `admin` or `coach`.
If the role is not provided the user is created as a learner.

As an user_info token payload example:
```json
{"email":"jhon@doe.com", "username":"jdoe", "roles":"['coach']", "family_name":"Doe"}

```


## Plugin configuration

This plugin is based on the [Mozilla Django OIDC library](https://mozilla-django-oidc.readthedocs.io/en/stable/). The plugin has been set to work with a standard OpenID Connect provider, so most of the library options have already been set and are not optional.

Below are the only available configuration settings.


### OIDC provider URL

The OIDC provider URL can be set with one of two methods. If this setting is not configured, the plugin will use the default value `http://127.0.0.1:5002/oauth`.

Either add it to `$KOLIBRI_HOME/options.ini` a new section:

```ini
[OIDCClient]
PROVIDER_URL=url of the OIDC provider
```

Or supply the `PROVIDER_URL` option setting in an environment variable called `KOLIBRI_OIDC_PROVIDER_URL`.


### OIDC endpoints

In case some of the endpoints returned by the OIDC discovery url `.well-known/openid-configuration` are not standard, you can set them using these options either in the `$KOLIBRI_HOME/options.ini` file or by supplying them in an environment variable.

In the `options.ini` file:

```ini
[OIDCClient]
JWKS_URI=
AUTHORIZATION_ENDPOINT=
TOKEN_ENDPOINT=
USERINFO_ENDPOINT=
ENDSESSION_ENDPOINT=
CLIENT_URL=

```

Or, as environment variables:

```
KOLIBRI_OIDC_JWKS_URI
KOLIBRI_OIDC_AUTHORIZATION_ENDPOINT
KOLIBRI_OIDC_TOKEN_ENDPOINT
KOLIBRI_OIDC_USERINFO_ENDPOINT
KOLIBRI_OIDC_ENDSESSION_ENDPOINT
KOLIBRI_OIDC_CLIENT_URL
```

### Ending session in the OIDC provider from kolibri
If kolibri >= 0.14 is used, kolibri will be able to end the user session in the OIDC provider when the use logs out.
For it to work correctly, the `ENDSESSION_ENDPOINT` must contain the OIDC provider url to end the session and another option: `CLIENT_URL` must be set containing the exact base url of the server running Kolibri, for example: http://localhost:9000 . This feature is available only if kolibri version >= 0.14

#### Configuration example
This is the options.ini used to login and logout from a [KeyCloak](https://www.keycloak.org/) server:

```ini
[Deployment]
HTTP_PORT = 9000

[OIDCClient]
PROVIDER_URL = http://localhost:8080/auth/realms/master
AUTHORIZATION_ENDPOINT = http://localhost:8080/auth/realms/master/protocol/openid-connect/auth
TOKEN_ENDPOINT = http://localhost:8080/auth/realms/master/protocol/openid-connect/token
USERINFO_ENDPOINT = http://localhost:8080/auth/realms/master/protocol/openid-connect/userinfo
JWKS_URI = http://localhost:8080/auth/realms/master/protocol/openid-connect/certs
ENDSESSION_ENDPOINT = http://localhost:8080/auth/realms/master/protocol/openid-connect/logout
CLIENT_URL = http://localhost:9000
```

### OIDC provider credentials

In order to the client requests to be authorized by the OIDC provider, a client ID and a client password must be used. These values must have been provided by the OIDC server provider.

They can be set using these two environment variables:

* `CLIENT_ID`
* `CLIENT_SECRET`

**If they are not set**, this plugin use the value `kolibri.app` for **both** settings.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from importlib.metadata import PackageNotFoundError
from importlib.metadata import version

try:
__version__ = version("kolibri-oidc-client-plugin")
except PackageNotFoundError:
__version__ = "0.0.0"
Loading
Loading