Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Migrate User/Identity management from WIT to Auth #79

Closed
10 of 11 tasks
alexeykazakov opened this issue Aug 30, 2017 · 4 comments
Closed
10 of 11 tasks

Migrate User/Identity management from WIT to Auth #79

alexeykazakov opened this issue Aug 30, 2017 · 4 comments
Assignees
Milestone

Comments

@alexeykazakov
Copy link
Contributor

alexeykazakov commented Aug 30, 2017

( Based on Aug 31st's discussion between @alexeykazakov and sbose )

Phase 1 - continue using WIT , but add support in AUTH. : #26

  • Add support in WIT for creating user/identity through the UPDATE API.
  • On successful login using Auth service, If user is present in Auth DB, Add support in Auth Login workflow to call "update user api" of WIT, .
  • On successful login using Auth service, If user is NOT present in Auth DB, Add support in Auth Login workflow to 'GET user profile info' from WIT. After writing to AUTH DB, call "User update api" of WIT to sync the updated user profile info.
  • When user profile is updated in Auth call WIT to update the user in the WIT DB.

Phase 2 - start using the Auth service : #26

Phase 3 - Migrate data

Phase 4 - Switch UI to AUTH

  • Switch UI (openshiftio app, fabric8-ui, planner) from WIT API to Auth API for /login, /logout, /refresh, /linksession, /user, /users:id, /spaces/:spaceID/collaborators
    Moved to Switch UI from WIT to Auth #127

Phase 5 - Clean up WIT

@alexeykazakov
Copy link
Contributor Author

Phase 1 should also include a step to support creating a new user in WIT when user is trying to login first time.

And there is also Phase 5 - clean WIT (remove unused code and keep only needed info in user/identity tables.

@sbose78
Copy link
Member

sbose78 commented Sep 19, 2017

@alexeykazakov
Copy link
Contributor Author

UI changes :

Good findings! Does these changes cover /login, /logout, /refresh ?
We will need to change /user, /users too but later.

@alexeykazakov
Copy link
Contributor Author

UI part is moved to #127.
The rest is done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants