mirror of
https://github.com/9p4/jellyfin-plugin-sso
synced 2026-10-20 05:58:11 +11:00
Compare commits
1 Commits
main
...
cache-buster
| Author | SHA1 | Date | |
|---|---|---|---|
| 0505d4a73d |
@@ -66,6 +66,7 @@ public class SSOController : ControllerBase
|
|||||||
// Actually a GET: https://github.com/IdentityModel/IdentityModel.OidcClient/issues/325
|
// Actually a GET: https://github.com/IdentityModel/IdentityModel.OidcClient/issues/325
|
||||||
[HttpGet("OID/r/{provider}")]
|
[HttpGet("OID/r/{provider}")]
|
||||||
[HttpGet("OID/redirect/{provider}")]
|
[HttpGet("OID/redirect/{provider}")]
|
||||||
|
[ResponseCache(Location = ResponseCacheLocation.None, NoStore = true)]
|
||||||
public async Task<ActionResult> OidPost(
|
public async Task<ActionResult> OidPost(
|
||||||
[FromRoute] string provider,
|
[FromRoute] string provider,
|
||||||
[FromQuery] string state) // Although this is a GET function, this function is called `Post` for consistency with SAML
|
[FromQuery] string state) // Although this is a GET function, this function is called `Post` for consistency with SAML
|
||||||
@@ -437,6 +438,7 @@ public class SSOController : ControllerBase
|
|||||||
/// <returns>A webpage that will complete the client-side flow.</returns>
|
/// <returns>A webpage that will complete the client-side flow.</returns>
|
||||||
[HttpPost("SAML/p/{provider}")]
|
[HttpPost("SAML/p/{provider}")]
|
||||||
[HttpPost("SAML/post/{provider}")]
|
[HttpPost("SAML/post/{provider}")]
|
||||||
|
[ResponseCache(Location = ResponseCacheLocation.None, NoStore = true)]
|
||||||
public ActionResult SamlPost(string provider, [FromQuery] string relayState = null)
|
public ActionResult SamlPost(string provider, [FromQuery] string relayState = null)
|
||||||
{
|
{
|
||||||
SamlConfig config;
|
SamlConfig config;
|
||||||
|
|||||||
Reference in New Issue
Block a user