I am trying to understand the instructions at
https://mydbr.com/doc/?prefs.sso.html
I understand most of the instructions, but I don't understand the very first one.
1. A user visits the myDBR site for the first time[i]
My application does many things and sometimes a user clicks a button to make a call to myDBR (i.e. Renders a Report URL) to generate and display a report, which is embedded in the application page.
So when you say user visits the myDBR site for the first time, do you mean the first time the user chooses to generate a report, or do you mean that every user who logs in to my application, should first thing make a call to myDBR.
For the purposes of this post, so that we understand each other, I will assume the latter.
If so, then I assume my application server simply references the general URL of
myserver/mydbr/index.php
How does myDBR know that the user is visiting the myDBR site for the first time?
What distinguishes between two different users who would be causing the application to go to
myserver/mydbr/index.php
The following is my understanding of the rest of the steps - in very shorthand. Please tell me if I am correct:
2. myDBR sends an API request i.e. a URL (which I define in myDBR environment settings) to my server, which verifies that the API call came from myDBR, and then displays my servers usual login screen.
3. My Server performs its usual login of the user
4. When the login succeeds, I redirect the user back to myDBR to the URL provided by myDBR in Step 2 (adding parameters to the URL as described in the documentation)
5. "myDBR verifies the hash received from the SSO server and creates or updates the user information for the specified users"
Can I assume that myDBR will return a success/fail code to my server which made the call to redirect the user?
6.