We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83704ca commit 852ae99Copy full SHA for 852ae99
1 file changed
src/main/java/com/onelogin/saml/Response.java
@@ -150,9 +150,9 @@ public boolean isValid(String... requestId){
150
// Check Audience
151
Set<String> validAudiences = this.getAudiences();
152
153
- if (!validAudiences.isEmpty() && !this.audienceUrl.equals(currentUrl)) {
154
- throw new Exception( this.audienceUrl + " is not a valid audience for this Response");
155
- }
+ //if (!validAudiences.isEmpty() && !this.audienceUrl.equals(currentUrl)) {
+ // throw new Exception( this.audienceUrl + " is not a valid audience for this Response");
+ //}
156
157
// Check destination
158
if(rootElement.hasAttribute("Destination")){
0 commit comments