Don't make it absolute. Do:

```javascript
window.location = 'auth/login';
```