ksainc / integration_ews

Nextcloud EWS Connector (Exchange Web Services)
GNU Affero General Public License v3.0
24 stars 1 forks source link

Force or prefill some authentication values for users #38

Open hartsberger opened 6 months ago

hartsberger commented 6 months ago

Is your feature request related to a problem? Please describe. In an enterprise environment: Every user has to manually fill out the authentication form. This is error-prone and not intuitive for most users.

Describe the solution you'd like It would be nice to have an option in the admin panel that let us force some of the users authentication form fields. For example: Force provider: On-Premises Force account-ID domain: domain.local Force account server: FQDN

That way the user only has to type in his/her username + password.

Bonus: It would be nice if the app checks if the LDAP integration app is active and uses some values from there to prefill the authentication form for the users. (e.g. account-ID domain, username)

Bonus2: ...and I am realy not sure if this is technically possible: If LDAP integration app is active then use any kind of session cookie to connect to the EWS. As the password of the Nextcloud authentication (LDAP) is identical with Exchange authentication, I guess this could somehow be possible. In the admin panel there could be a checkbox to "auto-connect the users", which would then enable the magic from above.

Describe alternatives you've considered Alternatively, instead of forcing the values for provider, account-ID and account server, the values could be prefilled in the users form. But the user would still be able to modify the prefilled values.

Thanks for the good work so far!