Hi @hxnam0509,
There are a couple of different causes that may be resulting in your application losing authentication after the page refreshes. This article explains the two most common reasons (developer keys & blocked third-party cookies).
Let me know if the FAQ solves this!