Skip to content
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

Use device ID as keycloak ID #20

Open
cdupont opened this issue Aug 14, 2019 · 1 comment
Open

Use device ID as keycloak ID #20

cdupont opened this issue Aug 14, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cdupont
Copy link
Collaborator

cdupont commented Aug 14, 2019

Currently, a device contains the keycloak ID as a field.
It would be better to use the device ID directly as the resource ID in Keycloak (as is already the case for projects and gateways).
This requires a database migration:

  • Each Keycloak resource need to be destroyed and re-created with the right ID
  • Each Orion device need to drop the keycloak_id field.
@cdupont
Copy link
Collaborator Author

cdupont commented Oct 23, 2019

Devices Gateways
Mongo ID = A KC_ID = X ID = A
Keycloak ID = X name = X ID = gateway-A name = A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant