-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fully document all the UI endpoints #353
Comments
Doing some Q&D login documentation here (linking is almost identical, just replace Start login with a provider (one of Google, Globus, or OrcID):
There's a few other optional parameters including submitting a redirect url for post login use. That sends the user to Google (or whoever) to complete the login, at which point the user is redirected back to the kbase auth2 server, which sets some temporary cookies and redirects back to the UI. The UI then accesses the
If the user already has an account the response will look like this, with the To cancel the login and clean up temporary cookies, send a Finally the UI accesses the
|
For the case where the
In this case, the UI sends the user details to the
A successful response looks identical to the |
Getting a name suggestion:
|
Currently only the endpoints for the start of a user flow are documented in the readme, and furthermore their signatures are not documented. Further endpoints and their signatures are discoverable by traversing the user flow from the starting endpoint, but should also be fully documented.
The text was updated successfully, but these errors were encountered: