Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connot Signin with sandbox platform #5

Open
shabshekan opened this issue Apr 20, 2020 · 4 comments
Open

Connot Signin with sandbox platform #5

shabshekan opened this issue Apr 20, 2020 · 4 comments

Comments

@shabshekan
Copy link

image

I try to sign in with "SDKAudioVideoAngularSample" code, and I follow instruction, but I received this code.
I also insert my appID and Secret key.
Could you please let me about this error?

@lpmtsf
Copy link
Contributor

lpmtsf commented Apr 20, 2020

Hi,

What SDK method (API) do you use to connect to Rainbow?

Make sure that you follow the instructions that are available on our Hub and create your application via Rainbow CLI on sandbox platform: https://hub.openrainbow.com/#/documentation/doc/hub/developer-journey

@shabshekan
Copy link
Author

I use WebAPI and in the sample, as you can see in the project "SDKAudioVideoAngularSample" this method is called .signin($scope.user.name, $scope.user.password)
I used Rainbos CLI to create application ID and received Secret Key.
I set these values in sdkSampleApp-noLoader.js file.
I host site and when I browse to the site with chrome, click sign in, I receive this error. I am sure about my user and password

@shabshekan
Copy link
Author

Codes are bugy and also documentation is different with what I see in practice.
To whom still has the problem.
If you use sandbox platform, you still need to call initialize method and the initialization in the sdkSampleApp.js never run.
So to solve it you need to call initialize method.
in this project I call initialize() method in connectionCmp.js in sign in button click.
rainbowSDK.initialize(appId, appSecret)
good luck.
and thanks for this great support!!!

@lpmtsf
Copy link
Contributor

lpmtsf commented Apr 21, 2020

Hi,

I fixed the issues in the sample, please try installing it again. I have tested it on my machine and it works.

@lpmtsf lpmtsf closed this as completed Apr 21, 2020
@lpmtsf lpmtsf reopened this Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants