Rainbow-web-sdk signin method returns unauthorized
i am using
signinOnRainbowOfficial() method it return code -2 (unauthorized)
cannot figure out where is the issue

-
I am having exact same problem but for the Sandbox...according to documentation shouldn't be needing an AppID or Secret. Yet, created one and added the parameters, however error happens at the SIGIN method...which is weird, there are no documented parameters to be added for AppID and Secret at that stage
-
Hi Jorge,
as described in https://hub.openrainbow.com/#/documentation/doc/hub/developer-sandboxed-platform , "creating your application" you must have an applicationID to in order to work on Sandbox. You have to manage your application with CLI in that case.
For Web SDK, please use the SDK.initialize before login ( https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/sdk#module_SDK.initialize ).
Thank you
Regards
Vincent
-
Ok this is confusing
https://hub.openrainbow.com/#/documentation/doc/sdk/web/guides/Adding_id_and_secret_key
Says:
When you're developping your application or testing it on the Rainbow Developers Sandboxed Platform, you don't need an application ID and secret key.
And also several other parts of documentation states exactly the same, that AppID and Secret can be left blank at sandbox.
I added however the AppID and Secret to my call and still having the exact same issue. This was working fine until last Friday.
window.serviceRainbow.init('xxxxxxxxxxxxxxxxxxxxx', 'yyyyyyyyyyyyyyyyyyyyy'); //AppID & APP Secret
Iniciar sesión para dejar un comentario.
Comentarios
6 comentarios