Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230100

Ionic-vue - is custom backend jwt authentication bad idea?

$
0
0

I am not sure I understand the question. :sweat_smile: Do you mean persisted pinia? Yes I use that for refresh tokens, all the rest is just session memory in a store, but refresh token stays in localstorage through pinia persisted state

 persist: {
        storage: persistedState.cookiesWithOptions({
            maxAge: 60 * 60 * 24 * 365,
        }),
        paths: ["refreshToken"],
    },

Viewing all articles
Browse latest Browse all 230100

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>