mirror of
https://github.com/9p4/jellyfin-plugin-sso.git
synced 2026-09-19 13:12:19 +00:00
Fix docs and escaped characters
This commit is contained in:
@@ -154,7 +154,7 @@ These all require authorization. Append an API key to the end of the request: `c
|
|||||||
- `adminRoles`: array of strings. This uses the OpenID response against the claim set in `roleClaim`. If a user has any of these roles, then the user is an admin. Leave blank to disable (default is to not enable admin permissions).
|
- `adminRoles`: array of strings. This uses the OpenID response against the claim set in `roleClaim`. If a user has any of these roles, then the user is an admin. Leave blank to disable (default is to not enable admin permissions).
|
||||||
- `enableFolderRoles`: boolean. Determines if role-based folder access should be used.
|
- `enableFolderRoles`: boolean. Determines if role-based folder access should be used.
|
||||||
- `folderRoleMapping`: object in the format "role": string and "folders": array of strings. The user with this role will have access to the following folders if `enableFolderRoles` is enabled. To get the IDs of the folders, GET the `/Library/MediaFolders` URL with an API key. Look for the `Id` attribute.
|
- `folderRoleMapping`: object in the format "role": string and "folders": array of strings. The user with this role will have access to the following folders if `enableFolderRoles` is enabled. To get the IDs of the folders, GET the `/Library/MediaFolders` URL with an API key. Look for the `Id` attribute.
|
||||||
- `roleClaim`: string. This is the value in the OpenID response to check for roles. For Keycloak, it is `realm_access.roles` by default. The first element is the claim type, the subsequent values are to parse the JSON of the claim value. Use a "\." to denote a literal ".". This expects a list of strings from the OIDC server.
|
- `roleClaim`: string. This is the value in the OpenID response to check for roles. For Keycloak, it is `realm_access.roles` by default. The first element is the claim type, the subsequent values are to parse the JSON of the claim value. Use a "\\." to denote a literal ".". This expects a list of strings from the OIDC server.
|
||||||
- GET `OID/Del/clientId`: This removes a configuration for OpenID for a given client ID.
|
- GET `OID/Del/clientId`: This removes a configuration for OpenID for a given client ID.
|
||||||
- GET `OID/Get`: Lists the configurations currently available.
|
- GET `OID/Get`: Lists the configurations currently available.
|
||||||
- GET `OID/States`: Lists currently active OpenID flows in progress.
|
- GET `OID/States`: Lists currently active OpenID flows in progress.
|
||||||
|
|||||||
Reference in New Issue
Block a user