Closed alexjavier15 closed 4 years ago
The method verifyRefreshToken in AuthService is expecting an object of type HttpRequest
https://github.com/serhiisol/ngx-auth/blob/ee237f26622ea9aa5612c350c6f7a30ded4be1b7/src/auth.service.ts#L41
However, the interceptor is passing the request url sting https://github.com/serhiisol/ngx-auth/blob/ee237f26622ea9aa5612c350c6f7a30ded4be1b7/src/auth.interceptor.ts#L169-L180
what ends up in the awful error
"Cannot read property 'endsWith' of undefined"
Hi @alexjavier15, good catch, I'll update library tonight.
Done :) it's published under 5.3.0
Thank you very much! I'll check it out right away
No problem, I hope it will help you. Cheers :D
The method verifyRefreshToken in AuthService is expecting an object of type HttpRequest
https://github.com/serhiisol/ngx-auth/blob/ee237f26622ea9aa5612c350c6f7a30ded4be1b7/src/auth.service.ts#L41
However, the interceptor is passing the request url sting https://github.com/serhiisol/ngx-auth/blob/ee237f26622ea9aa5612c350c6f7a30ded4be1b7/src/auth.interceptor.ts#L169-L180
what ends up in the awful error
"Cannot read property 'endsWith' of undefined"