I don't know about the specific mechanics of the ID-Card login, but it sounds like you should be developing an authentication plugin. An authentication plugin would be free to process the username and password in whatever way it wants. You can start by looking at the documentation, and looking at existing authentication plugins.
Security and privacy
Login using username
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.