I implemented the auth_google
setting of Shiny Server Pro using the instructions found at https://support.rstudio.com/hc/en-us/articles/219499547-Shiny-Server-Pro-Google-Authentication-Examples
and my app is now password protected. Unfortunately, I can't figure out
how to log back out once I have provide the required credentials.
I manually entered the following into my ui()
:
<div class="shiny-server-account">
<a href="__logout__">Log Out</a>
</div>
based on https://groups.google.com/forum/#!searchin/shiny-discuss/logout%7Csort:relevance/shiny-discuss/35-GWmlvdAc/ku_4msNEAQAJ but clicking it only refreshes the page. From other posts I believe that Shiny Server Pro should create the logout button automatically (or at least did in previous versions) but doesn't seem to be doing so now.
Is there server side code that I need to implement to allow users to log out of an app previously authenticated using the auth_google
method?