lithnet / access-manager

Access Manager provides web-based access to local admin (LAPS) passwords, BitLocker recovery keys, and just-in-time administrative access to Windows computers in a modern, secure, and user-friendly way.
Other
238 stars 20 forks source link

[HELP] Modify OIDC claim name attribute #200

Open janssen-bart opened 1 year ago

janssen-bart commented 1 year ago

Hi,

I was testing new features and new MS laps compatibility on v2. I noticed all settings are moved to SQL. I was once more setting up ISAM like in https://github.com/lithnet/access-manager/issues/94 but noticed the 'ClaimName' param is not defined anymore. Is it still possible to add it to the setting in database dbo.ConfigItems/Authentication?

ryannewington commented 1 year ago

Hi @janssen-bart

My apologies, we did have a plan to expose a setting for this but didn't make the cutoff for V2.

We will add this in a future release.

If you perform an in place upgrade from v1, with the ClaimName setting in place, it will be imported into the V2 database.

You can manually add it to the config key json that you identified. Just back up the existing value or the service may fail to start if it's incorrectly formatted.

janssen-bart commented 1 year ago

OK Nice it looks like the override is still working when adding the extra parameter. Thnks!