This change addresses a discrepancy when parsing Gen2 configuration files relative to Gen1. With this change, supported login attributes will always be set when parsing Gen2 configuration files when username_attributes is present in the config file. Before this change, login attributes may be undefined if that particular attribute was not present in the configuration file.
Description of changes
This change addresses a discrepancy when parsing Gen2 configuration files relative to Gen1. With this change, supported login attributes will always be set when parsing Gen2 configuration files when
username_attributes
is present in the config file. Before this change, login attributes may beundefined
if that particular attribute was not present in the configuration file.Issue #, if available
Description of how you validated changes
Local testing
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.