Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Joining a Conference Anonymously #22

Open
waqaszahoor opened this issue Feb 5, 2017 · 4 comments
Open

Joining a Conference Anonymously #22

waqaszahoor opened this issue Feb 5, 2017 · 4 comments

Comments

@waqaszahoor
Copy link

Hi,
I got these error with try to signIn (Anonymously)
GET https://lyncdiscoverinternal.mdfronts.com/xframe net::ERR_NAME_NOT_RESOLVED
GET https://lyncdiscover.mdfronts.com/xframe net::ERR_INSECURE_RESPONSE

Code:
` var hasToken = /^#access_token=/.test(location.hash);
var hasError = /^#error=/.test(location.hash);
var client;
var client_id = '9c9eb6f0-5207-4888-b873-50dc041802d8';

    testForConfigAndSignIn({
        "client_id": client_id,
        "origins": ["https://webdir.online.lync.com/autodiscover/autodiscoverservice.svc/root"],
        "version": 'skypeforbusiness/1.0.0',
        "redirect_uri": 'token.html'
    });

    $("#connect").click(function () {
        var uri = $("#url").val();

        client.signInManager.signIn({
            version: 'skypeforbusiness/1.0.0',
            name: "Abdul Basit",
            meeting: uri
        }).then(function () {
            var conversation = client.conversationsManager.getConversationByUri(uri);

            conversation.chatService.start().then(function () {
                conversation.chatService.sendMessage("Hi");
            });
        });
    });


    function testForConfigAndSignIn(options) {
        Skype.initialize({
            apiKey: '9c967f6b-a846-4df2-b43d-5167e47d81e1'
        }, function (api) {
            client = api.UIApplicationInstance;
        }, function (err) {
            console.log(err);
        });
    }`
@satya5561
Copy link

satya5561 commented Mar 14, 2017

I am also facing the same issue.

@satya5561
Copy link

@waqaszahoor have you got any solution for this issue if any please help me.

Thanks

@waqaszahoor
Copy link
Author

@satya5561 yes, we need to use Trusted API.

@stewartadam
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants