ngGAPI icon indicating copy to clipboard operation
ngGAPI copied to clipboard

How to save authentification

Open bahuma20 opened this issue 10 years ago • 3 comments

Is it possible to save the auth-Token in the browser session or localstorage?

bahuma20 avatar Nov 14 '14 11:11 bahuma20

Yes. The javascript client does this for your automatically. You really don't need to worry about it. If you're curious about how it works, you can search for 'Token' in the source code and you can see how it's used.

jcwatson11 avatar Jan 28 '15 22:01 jcwatson11

@jcwatson11 i get new token each time i reload the page, but i wanted to use single token. Can you suggest me if i am doing any mistake in code.

narengs7 avatar Jan 02 '17 08:01 narengs7

Not without seeing your code. What gives you the idea that you are getting a new token every time you load the page?

jcwatson11 avatar Jan 02 '17 16:01 jcwatson11