reverting throw exception at sso url error