rx-stomp icon indicating copy to clipboard operation
rx-stomp copied to clipboard

How to handle authentication error?

Open pseisam opened this issue 3 years ago • 0 comments

How can I react to authentication errors?

There is the observable webSocketErrors$ but the only info I can get from there is type = error. But I want to know what kind of error occurred like a http status code.

I don't want to do a token refresh but to logout the user on authentication error.

Any idea?

pseisam avatar Oct 14 '22 10:10 pseisam