Use first client config to create our UserManager

This commit is contained in:
dannyrb 2019-05-03 21:18:13 -04:00
parent 2a56ec5c5f
commit 08db413024

View File

@ -104,9 +104,11 @@ class App extends Component {
store.dispatch(buttonsAction)
//
const firstOpenIdClient = this.props.oidc[0]
this.userManager = getUserManagerForOpenIdConnectClient(
store,
this.props.oidc
firstOpenIdClient
)
handleServers(this.props.servers)
initWebWorkers(