exception handling in reverse oauth process