Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

64
Visualizações
OneDrive Picker redirect back to my site in react Application

I'm using the OneDrive Picker documentation from here but it doesn't work. Firstly I needed to add a redirect Url otherwise the login page that is opened says it can't log me in. Then what happens is that the page that is displayed is actually my website with an access token in the Uri for 1 sec after that remove token from the url:

enter image description here

I have also use:

<ReactOneDriveFilePicker
                            clientID='*****66-ac23-**f2-957e-9c5941a1*****'
                            action="share"
                            multiSelect={false}
                            onSuccess={(result) => {
                              alert(JSON.stringify(result));
                            }}
                            onCancel={(result) => {
                              localStorage.removeItem("ClientID")
                              alert(JSON.stringify(result));
                            }}
                          >
                      <Button color="primary" className="form-control" >
                        <div className="row">
                          <div className="col-3">
                            <FontAwesomeIcon className="icon" icon={faImages} />
                          </div>
                          <div className="col-9">Select from OneDrive</div>
                        </div>
                      </Button>
</ReactOneDriveFilePicker>  

but I got same issue after signin in onedrive redirect back my site.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda