Rob Nova
Rob Nova
ha yea, I get a bit lost in it myself some times. Planning an overhaul of all my docs, but just trying to find some time for it :-)
So it's relying on the api to come back with a specific error code such as a 403 or something which it detects by default. Otherwise there is an auto...
So this is already done via an interval check automatically and you can increase the timing for that.
Not sure, I hundred percent follow, but if you are doing a manual update of some cookie alongside the plugin then ya it would be best to just do a...
Hmm, I see, so that's something to dig into. Can you dump the library into your project locally and put a console.log(args) above the line in this file: https://github.com/websanova/vue-auth/blob/master/src/lib/token.js ```...
@jawa-the-hutt hmm, ya so we follow that call here: https://github.com/websanova/vue-auth/blob/master/src/lib/cookie.js#L47 Could be some potential issue here with how the cookie is set the second time. Maybe further investigate with a...
Hmm, yea, very likely something going on with that then. If you look at this line: https://github.com/websanova/vue-auth/blob/master/src/lib/cookie.js#L38 It's by default setting a relative "numeric" value. Because it's a string it's...
Ok, so I've made an update to better support this kind of a setup to allow optionally setting the `rolesKey` via the auth meta. You will need to get the...
@WildEgo also note that the roles only require one hit, so it's basically "OR" operation, if you want some kind of "AND" operation, then probably you need more of a...
I haven't used pinia yet, as long as you can import the library though, it should work I think? Do you have some examples of anything you tried?