include optional callback in getSamlResponse function
0.7.0