... | ... | @@ -2,6 +2,26 @@ |
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
## MyNCBI Login
|
|
|
|
|
|
(Confirmed in https://gitlab.coko.foundation/ncbi/ncbi/-/issues/221#note_49192)
|
|
|
|
|
|
We will keep CoKo login / register as an option in config file (as an option for development only). For MyNCBI implementation, we will NOT use BCMS login page at all. Note that MyNCBI does not have an option to enter first/last name when registering for a new account, so we will prompt for that information in BCMS.
|
|
|
|
|
|
This is the workflow for MyNCBI login that we are going to implement:
|
|
|
1. User attempts to go to any BCMS page, ex. BCMS dashboard
|
|
|
2. User is not signed in -> User is redirected to MyNCBI login page automatically.
|
|
|
3. User either signs in to MyNCBI or registers a new account following an existing MyNCBI flow.
|
|
|
4. Upon successful MyNCBI login, a user is redirected back to BCMS and MyNCBI provides the following user information:
|
|
|
* Userid
|
|
|
* Username
|
|
|
* Email
|
|
|
5. BCMS checks if a user record with this UserId exists already:
|
|
|
* If exists: user is directed to the originally requested BCMS page
|
|
|
* If a user doesn't exist:
|
|
|
* A user is directed to the modified BCMS "Sign up" page to enter their first / last name and organization.
|
|
|
* A new user record is created in BCMS and a user is directed to the BCMS dashboard.
|
|
|
|
|
|
## The domain service #226
|
|
|
* create publisher
|
|
|
* update publisher
|
... | ... | |