ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

think about a standardized property for different auth mechanisms in user objects

Open foxriver76 opened this issue 4 years ago • 1 comments

  • like LDAP #1142
  • or https://github.com/Vertumnus/ioBroker.googleauth
  • I could think of common.authentication which is an object, containing a name/id of the service/type + additional auth type specific information

foxriver76 avatar Apr 08 '21 10:04 foxriver76

I would propose more a common.externalAuthentication as name for the field to show that it is about "non iobroker" authentication mechanisms.

externalAuthentication: {
    "google": {
        "id": "...",
        "...": "..."
    },
    "ldap": {
        ...
    "
}

with id being always there and other keys could contain access/refresh tokens or whatever

Apollon77 avatar Apr 08 '21 13:04 Apollon77