pe="module">
    import dh from '../dh-core.js';

    const {CoreClient} = dh;

    function log(msg) {
        document.getElementById('log').append(msg, document.createElement('br'));
    }

    document.getElementById('go').onclick = async e => {
        var client = new CoreClient(window.location.protocol + "//" + window.location.host);
        var authConfigValues = await client.getAuthConfigValues();
        function getConfig(key) {
            return authConfigValues.filter(config => config[0] === k