Unable to login to access saved project.
I may have a unique issue, but figured I'd ask...
We have a mapping site that is embedded into a website. This presents a series of challenges. One of which is authentication. Due to same-origin requests, we need to access the login page by directly passing the sign-in command with the viewer URL such as:
https://<our server>/Geocortex/Essentials/ANR/REST/security/signIn?token_type=fragment&app=<our viewer url>#
The problem that we've run into, is that we are unable to access saved projects that have been made editable to signed in users, because as soon as someone signs-in, they are redirected to a fresh version of the viewer and not from the referal link of the saved project. If I used the 'SignIn' command, I can login and access the saved project... But this doesn't work for a site that's framed into an existing webpage hosted on another server.
Is there anything I can do to get saved project links to ask the user to sign-in BEFORE the site loads? The saved project link will load the project, but the user cannot make any edits and save the project because they have not signed in... If they sign in, the page reloads and they lose the project.
Hope this is clear enough...
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare