question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unique identifier of User entity is email, but should be configurable

See original GitHub issue

In the current implementation, the unique/required identifier and required field is email, and I think that should be configurable. Or, we can introduce a new field username which is required and email can be optional. In case where username and email address are same, simply fill both attributes with the email address.

Use Case: At ING, we do use corporate keys, which are totally unique and can not be changed, but email address can be changed (for example, name change after marriage, change of domain part based on geolocation etc.) So, to handle that scenario we can have corporate key as the unique identifier. It would make no sense and may be confusing for the users if we send corporate key in email address field and also, then there would not be an attribute to put email address.

Happy to discuss in details, and make the change in both frontend and backend, once we finalize this.

@feng-tao @jinhyukchang

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
jinhyukchangcommented, Apr 9, 2019

I see. I agree to have unique string on it. How about adding into the model id? Along with two entities you mentioned above, I think we also need to add it in API payload. https://github.com/lyft/amundsenmetadatalibrary/blob/master/metadata_service/api/table.py#L11

cc: @feng-tao

0reactions
ttanniscommented, May 29, 2020

@verdan this issue is resolved now that we have an official user_id correct? Will go ahead and close please comment if you have any further issues in this space.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unique identifier of User entity is email, but should be ... - GitHub
In the current implementation, the unique/required identifier and required field is email , and I think that should be configurable.
Read more >
Best practices for unique identifiers - Android Developers
Advertising IDs are configurable in that users can limit the amount of tracking associated with the ID. Always use the AdvertisingIdClient.Info.
Read more >
Define alternate keys for an entity - Dynamics 365
All Dynamics 365 Customer Engagement (on-premises) records have unique identifiers defined as GUIDs. These are the primary key for each entity.
Read more >
What is a UID (Unique Identifier)? - TechTarget
A unique identifier (UID) is a numeric or alphanumeric string that is associated with a single entity within a given system. UIDs make...
Read more >
SCIM Integration Unique ID "chicken and the egg"
When you go to assign an Okta user to a SAML enabled application, the 'User Name' text field is pre-populated with an attribute...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found