Hoppa till huvudinnehållet

How can I return a user to signed-in mode on page refresh?

Kommentarer

3 kommentarer

  • Permanently deleted user
    Hi Justin,

     

    When the viewer loads, it will only present a login form if anonymous access is disabled.  Your second link is going straight to the login form which then redirects back to the viewer with an authorization token, which is removed from the URL following sign-in.  So, if the user refreshes the page, they will go through the normal viewer launch process which does not immediately sign in (since anonymous users are allowed).

     

    There is no way to have a single Site/Viewer allow anonymous users AND sign-in immediately when launched.  However, you should be able to create a second site that references this one, and set the permissions on that second site to deny anonymous access.  Then, launching the viewer for the second site should immediately require a sign-in, even when refreshing the page.

     

    Regards,

     

    -Malcolm
    0
  • Justin Kraemer
    Thank you Malcolm for the explanation. I will try your suggestion
    0
  • Justin Kraemer
    Malcolm, I have made the reference site, but have a regret. The Sign In link on the original site still signs into that site, and of course suffers from the refresh problem that caused me to post here. I want to know if there is a way to make the Sign In link sign in to the new reference site instead? I know I could disable sign in on the original, but then the two-in-one benefit of the original site is lost. I would like to know how to enable the user to navigate from within the original site viewer to the reference site viewer, please. 
    0

Du måste logga in om du vill lämna en kommentar.