Could merge the above two lines

```
assert parsed_url?.query?.SAMLRequest?, 'Could not find SAMLRequest in url query parameters
```