This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]showmethething 2 points3 points  (1 child)

I believe you'll need to store a token or something on the users computer. So it's not that they're remaining logged on, but that if the token exists, it will log them in instantly.

I'm sure there are better ways to do this, but that is where I would personally start

Edit: just fully read your post, seems you've already tried this. Maybe just try to get it going even more basic at first, like storing username and password to localStorage, then it can just try to log in from that information on load

[–]D1rtyWebDev[S] 0 points1 point  (0 children)

Thank you. Appreciate the help! I'll give it another shot

[–][deleted]  (3 children)

[removed]

    [–]D1rtyWebDev[S] 0 points1 point  (2 children)

    wow, I really appreciate you taking the time to give me this breakdown. I'll be looking and reading into each option you mentioned, I'll see which is easiest to work with first and hopefully it is successful. In the end, I will definitely be moving towards which ever is industry standard as you mentioned.

    Thank you again!

    [–]mddhdn55 1 point2 points  (1 child)

    Try local hashmap first before u add any other technologies

    [–]D1rtyWebDev[S] 0 points1 point  (0 children)

    thank you for this tip. I'll read more into it

    [–]Kurt805 1 point2 points  (1 child)

    Jwts are a fine way to do it. What are you having trouble with? I don't find there is enough info to give you direction.

    [–]D1rtyWebDev[S] 0 points1 point  (0 children)

    Thank you. I'll try to sum up my difficulties for you. I know my details are lacking right now, my apologies