please, do let us know if you end up craeting a library for the app you are working on. that way we can eventually for it and add the fork to the Auth0 org so it gets greater visibility
and of course mention you as the main contributor ;)
cvcvcv
looks like not so much code write
*to write
thanks for links
yenkel I'll keep you updated)
yenkel
it is not a big lib
do let us know if you find issues with the impl
if you start the project please share the github url with us whenever you feel comfortable. it will get us excited about the project's progress :)
keving has quit
and thanks a lot for the great attitude :)
Shakti joined the channel
arvindR joined the channel
arvindR
Hello again
yenkel
arvindR: Hi there
arvindR
So I was going through the client code
In need to check if the user is logged in
What would you recommend I test?
Shakti
Hi i have java app but managing login with auth0 by domain_name/ro api call at backend without using auth0 Principal and all its config in my app
yenkel
arvindR: conceptually a user is logged in as long as you have access to the id_token and it has not expired
let me look up some links that are useful to check that
arvindR
You have an explicit logout where you delete cookies
Shakti
And using its id_token and access token in my app
arvindR
I'm wondering if I should save the token in my app code, or should I even save any state
yenkel
arvindR: yes, and that is done because we are using a web view control. otehrwise
arvindR: you would always get the same user if the cookies were saved
Shakti: we will be right with you
Shakti
Have a user table in my db, creating user in my db at the time of signing up with auth0
arvindR
Right, so I'm missing something obvious here.
Shakti
Now linking my local user table entry with auth0 user
yenkel
arvindR: the id_token expires (by default) after 10 hours. you can modify the expiration time in our portal by changing the app settings
Shakti
I want to implement log out functionality in my app with this architecture
yenkel
arvindR: you can store that locally and retrieve it whenever the user opens the application. if the token has expired you they ought to be required to login again
arvindR
The cookie, being saved, is sufficient to maintain the user state (unless the token expires). Is there someway I can get access to the user after the app is restarted