check redirect uri and client id