112 Commits
Author SHA1 Message Date
Ersei Saggi d51e5069d6 feat: allow for better endpoint validation 2024-02-20 09:11:48 -05:00
Ersei Saggi 9321c25f20 feat: allow linking to work with new paths 2024-01-11 09:56:45 -05:00
Ersei Saggi cb26ba9852 Add yet another null check in SAML 2023-10-18 01:09:33 -04:00
Ersei Saggi 1b6761bf73 fix: add another null check in SAML for the default provider 2023-09-01 15:59:13 -04:00
Ersei Saggi e65c5add95 fix: a few more null checks 2023-08-29 13:06:02 -04:00
Ersei Saggi f37e8dd3bb fix: handle empty and invalid strings in the schemeOverride 2023-08-07 12:14:52 -04:00
Ersei Saggi 9b667b3175 feat: allow overriding redirect scheme 2023-08-07 12:09:51 -04:00
Ersei Saggi 657f90ef13 fix: make SAML paths better; improve and add OID discovery defaults 2023-08-06 16:19:53 -04:00
Ersei Saggi defab9c4e8 feat: clarify redirect paths (#84) 2023-08-06 14:32:05 -04:00
Ersei Saggi 0d19a3376f feat: Allow Live TV management 2023-08-05 18:04:28 -04:00
Ersei Saggi 1de72effca fix: Check for Roles being null in configuration for openid 2023-08-05 17:31:06 -04:00
EsmondandGitHub c6cac45004 fix: error in logs for #81 (#100) 2023-01-01 16:21:58 -05:00
EsmondandGitHub dfd519ae9d fix: null check before trim() (#99)
* null check before trim()

* fix: #97 null check before trim()

* fix: apply null check to all trims
2022-11-06 21:53:55 -05:00
9p4andGitHub 40120dd127 fix: #83 Trim whitespace in user provided strings (#89) 2022-11-03 22:42:56 -04:00
9p4andGitHub fa46806dc5 feat: allow for HTTPS to be disabled in OpenID discovery (#77)
* feat: allow for HTTPS to be disabled in OpenID discovery (#76)
2022-09-09 10:19:48 -04:00
9p4andGitHub facf45058f Merge branch 'main' into custom-username-claim 2022-08-23 19:32:16 -04:00
Sambhav Saggi 672fce8189 fix: prevent null passwords when fallback is set to default provider 2022-08-23 19:22:02 -04:00
Sambhav Saggi 332f62d76e feat: allow configuration of preferred username claim (#47) 2022-08-23 18:18:42 -04:00
9p4andGitHub 47db5cb504 Merge pull request #71 from fredriklindberg/improve-get-request-base
fix: don't include port in redirect URL for 80 and 443
2022-08-23 18:12:19 -04:00
Fredrik Lindberg d06f680407 fix: make user creation more robust
Reverse logic of CreateCanonicalLinkAndUserIfNotExist() to first check if the user exists,
then create the canonical link. This allows seamless re-creation of users through SSO after
they have been deleted from Jellyfin but not properly de-linked.
2022-08-18 17:55:41 +02:00
Fredrik Lindberg 976a816d8c fix: don't include port in redirect URL for 80 and 443
Skip port number in redirect URLs during the following conditions
 - The request scheme is http and request port is 80
 - The request scheme is https and request port is 443

This creates redirect urls as https://server/path instead of https://server:443/path
2022-08-18 17:48:37 +02:00
Matthew Strasitoto 843873d8d5 fix: improve 403 failure message 2022-08-14 13:13:07 +10:00
Matthew Strasiotto a7fb4d4ef0 Code cleanup 2022-08-14 13:13:07 +10:00
Matthew Strasiotto ebfcadc862 Reduce duplication in adding new views 2022-08-14 13:13:06 +10:00
Matthew Strasiotto 7e5738c65f Add css to replace missing css in custom view 2022-08-14 13:13:06 +10:00
Matthew Strasiotto f810ea7259 add module for api client
Add js apiclient init module
2022-08-14 13:13:06 +10:00
Matthew Strasiotto cc05b12a23 Add controller for serving views 2022-08-14 13:13:06 +10:00
Matthew Strasiotto e7d70b8326 lazy provider linking frontend
Use ApiClient.getUrl to get base urls for links

Per
https://github.com/9p4/jellyfin-plugin-sso/pull/34#discussion_r885060442
2022-08-14 13:13:06 +10:00
Matthew Strasiotto c5e1644d17 implement api for listing and deleting links 2022-08-14 13:13:06 +10:00
Matthew Strasiotto 7ede38d0ab Implement canonical linking 2022-08-14 13:13:06 +10:00
Matthew Strasiotto 5da7e02faf Fix ID Provider incorrectly resetting on login 2022-05-26 19:17:58 +10:00
Matthew StrasiottoandGitHub 54ef348009 Allow requesting additional scopes in OIDC flows (#24)
* Allow requesting additional scopes in OIDC flows

* Supply OidScopes as an array

* Document `OidScopes` in readme
2022-04-29 16:04:45 -04:00
9p4andGitHub 6cb5fc33bf Merge pull request #9 from Pfuenzle/patch-2
Fallback Authentication Provider
2022-04-07 16:16:23 -04:00
Sambhav Saggi 5d28f1ba31 Make CI happy 2022-04-07 16:09:09 -04:00
PfuenzleandGitHub 2d14342ad7 Merge branch 'main' into patch-2 2022-04-07 10:20:11 +02:00
username e8276eae87 Removed errors and warnings 2022-04-07 10:17:41 +02:00
username 2d459b7945 Moved default provider function to authenticate() 2022-04-07 09:43:36 +02:00
username b8cddb3467 Added comment, removed whitespace etc. 2022-04-07 09:33:55 +02:00
Cody Robibero 875fc62728 Clean up controller
Signed-off-by: Cody Robibero <cody@robibe.ro>
2022-03-21 16:46:52 -06:00
Sambhav Saggi 7f66f44743 Use hashmaps instead of lists for performance 2022-03-13 15:01:26 -04:00
Sambhav Saggi f748bf7ef7 Add expected roles for debug 2022-02-25 19:51:54 -05:00
Sambhav Saggi b752f6ffaa Log permissions on permission error 2022-02-25 19:47:06 -05:00
Sambhav Saggi 653341f3dd Merge branch 'main' of https://github.com/9p4/jellyfin-plugin-sso into patch-2 2022-02-21 14:41:01 -05:00
Sambhav Saggi 7d1b3fa97d Add XML docs + no more warnings 2022-02-21 14:36:29 -05:00
Sambhav Saggi fad64fec7c Clean up logging, add better errors 2022-02-21 11:29:46 -05:00
Sambhav Saggi 7106af19ec Add nested OIDC claim support 2022-02-21 11:16:12 -05:00
PfuenzleandGitHub 0eb7cd4f50 Update SSOController.cs 2022-02-20 18:08:31 +01:00
Sambhav Saggi 075b4fb69f Consolidate responses and improve localstorage checks 2022-02-18 13:02:04 -05:00
Sambhav Saggi 09bbe3aa47 Finalize client login flow via WebResponse 2022-02-18 12:52:01 -05:00
Sambhav Saggi 387fa5c67b Add option to remove user from the SSO login 2022-02-15 20:52:54 -05:00