privacyidea/keycloak-provider

Add preferred token type

lukasmatusiewicz opened this issue · 1 comments

If in response from the server exists preferred_client_mode use it to replace the preferredTokenType option in the future.

NOTE: Leave booth options for some time, but if preferred_client_mode is found in response use it and ignore the old option.

@nilsbehlen should we already inform the user in a debug message about this future change, and recommend using the new method?

The user will not see any debug messages, it would be the admin. I dont think we need to make this kind of investment, just add in docs that the option in the plugin will be deprecated in the future and also write this in the patch notes.