Auth0 Home Blog Docs

Is parseHash now working with HS256?

auth0js

#1

Hi,
after login to my Client+API and being redirected back, I’ve tried to call parseHash() on my location.href and it worked. It decoded my HS256 signed token. Of course I can’t trust its signature (but my API server does it) but I got it parsed correctly, which is really useful. Documentation says that parseHash only works with RS256 signed tokens. Did something change recently?


#2

Also, it seems renewAuth() is working too…


#3

I would also like the answer to this. I want to use HS256, and I am really confused why the documentation says parseHash requires RS256.


#4

Also, it seems renewAuth() is working too…


#5