Double login after logged in

Hi team, I just adding a rest service called HighSchoolCount, for counting sum of High School in a town. The activity to count is define in a microflow called CountHighSchool previously. I just set requires authentication to yes, and authentication methods just checked in active session only. With allowed roles just admin only. I implement the HighSchoolCount on my home dashboard. But the count part is show by using custom html snippet and javascript snippet   I just tested login with admin user. But when I redirect to the home page after login, it still requires to put the admin's username and password again if I want to show the high school count.   I want it will not requires input admin's user and password again after I logged in, but I need authentication too for security reasons. What should I do? Is there any configuration for handle this case without hardcoding the username and password in the javascript snippet?
0 answers