I just figured out that there seems to be a new recomended way to integrate Auth0 into Ionic2+.
I’m just wondering if there is any significant advantage of the new solution?
I just made a quick test implementation in my app, and despide the fact that it didn’t save the token properly (I wasn’t able to figure it out, but I also didn’t spent much time debugging), I saw at few disadvantages right away:
- not able to test it in the browser anymore (via
ionic serve -l) which is mutch easier to debug
- the addressbar is always visible and there doesn’t seem to be a way to get rid of it - so the look and feel of the integration is quite poor
Just to let you know which integration I currently use, here is my reference:
The new soltion:
Also the documentation is missing the AuthHttp documentation - but as it uses the auth0-js lib I guess it’s still working the same way.