Skip to content

Commit

Permalink
Add SAML IDP logout url (+DefaultRelayState +ForceAuthentication) (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
guyp-descope authored Jul 30, 2024
1 parent 5c9da10 commit d3f690c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ public class OIDCApplicationRequest {
* The URL where login page is hosted.
*/
private String loginPageUrl;
/**
* Optional determine if the IdP should force the user to re-authenticate.
*/
private Boolean forceAuthentication;
}
12 changes: 12 additions & 0 deletions src/main/java/com/descope/model/ssoapp/SAMLApplicationRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,16 @@ public class SAMLApplicationRequest {
* "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified".
*/
private String subjectNameIdFormat;
/**
* Optional default relay state value that will be used in the SAML request.
*/
private String defaultRelayState;
/**
* Optional determine if the IdP should force the user to re-authenticate.
*/
private Boolean forceAuthentication;
/**
* Optional Target URL to which the user will be redirected upon logout completion.
*/
private String logoutRedirectURL;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ public class SSOApplicationOIDCSettings {
private String loginPageUrl;
private String issuer;
private String discoveryUrl;
private Boolean forceAuthentication;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ public class SSOApplicationSAMLSettings {
private List<String> acsAllowedCallbacks;
private String subjectNameIdType;
private String subjectNameIdFormat;
private String defaultRelayState;
private Boolean forceAuthentication;
private String idpLogoutUrl;
private String logoutRedirectURL;
}

0 comments on commit d3f690c

Please sign in to comment.