update format
add synchronus return
Merge branch 'master' of https://github.com/gsaunier/open-miage-sso-client