Top

Rainbow-web-sdk signin method returns unauthorized

Comentarios

6 comentarios

  • Vincent BAILLEAU

    Hi Suhayb,

    several element need to be checked

    1- Are you using an up to date web sdk version ?

    2- Do you have a valid application id in deployed state under hub.openrainbow.com ?

    Could you confirm please ?

    Thank you

    Regards

    Vincent

    0
    Acciones de comentarios Permalink
  • Suhayb Yahya

    Hi Vincent.

    1- Yes i am using "rainbow-web-sdk" package version "1.50.3" which is the latest.
    2- Yes i have a deployed app with a with a valid "app id" and i can initialize the project successfully.

    Thanks for your efforts.

    0
    Acciones de comentarios Permalink
  • Jorge BELLIDO

    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

    0
    Acciones de comentarios Permalink
  • Vincent BAILLEAU

    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

    0
    Acciones de comentarios Permalink
  • Jorge BELLIDO

    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

    0
    Acciones de comentarios Permalink
  • Konrad Hyzy

    Jorge,

     

    I have updated the documentation.

     

    Thanks,

    Konrad

    0
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

  • Pregunte a la Comunidad

    ¿Necesitas ayuda? Haz tus preguntas en la Comunidad para obtener respuestas de otros usuarios de Rainbow.

    Enviar un mensaje.