auth0 / passport-windowsauth

Windows Authentication strategy for Passport.js
MIT License
178 stars 54 forks source link

add option to return id and name in down level logon name format #69

Open mathew-pigram opened 1 year ago

mathew-pigram commented 1 year ago

Description

Allow users to specify the required format of the returned id and name. Defaults to logonName. Setting the option 'downLevelLogonName' to a truthy value will return the id and name in down-level logon name format

References

Issue #49

Testing

current functionality and defaults remain unaffected. Setting a new option 'downLevelLogoName' to a truthy value will return the id and name in downLevelLogonName format.

Unit tests have been added to tests/validations.tests.js

Checklist