The `invalid_request` is only sent due to missing or invalid parameters which are programmatic errors and should not be checked in runtime. https://github.com/seegno/angular-oauth2/blob/master/src/interceptors/oauth-interceptor.js#L20