Debugging when Authenticating from Shiny
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- azure, r
- Ambito
- authentication
Direzione di ricerca
Confronta la configurazione separata di global.R, server.R e UI.R con la vignette “Authenticating from Shiny”, incluso lo snippet clean_url_js e i valori di tenant, app, resource e redirect. Inizia esaminando l’immagine dell’errore segnalato e i log del server Shiny; il lavoro sarà considerato concluso quando sarà stata identificata una causa riproducibile e sarà stata documentata una correzione concreta di debugging o configurazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I am building a Shiny app for my organization and plan to use AzureAuth to authenticate users. This is my first time using AzureAuth, and I have found little help with it elsewhere on the internet.
My app has separate global.R, server.R, and UI.R components. I tried to follow the "Authenticating from Shiny" vignette, however I am receiving an uninformative error and nothing more is produced in the error logs of the Shiny server.
I added components to the server and ui functions as outlined in the vignette and defined tenant, app, resource, and redirect in my global.R file. I also included the following at the top (from Authenticating from Shiny Vingette):
clean_url_js <- sprintf(
"
$(document).ready(function(event) {
const nextURL = '%s';
const nextTitle = 'My new page title';
const nextState = { additional information: 'Updated the URL with JS' };
// This will create a new entry in the browser's history, without reloading
window.history.pushState(nextState, nextTitle, nextURL);
});
", redirect
)
Do you have any tips for debugging?
Thank you in advance.
- Lingua principale
- R
- Stelle
- 48
- Fork
- 23
- Merge medio
- 4h 2m
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/AzureAuth
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Error in process_response Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di Azure/AzureAuth
Issue simili
-
documentation pkg infrastructure
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
epiverse-trace/epiparameter#511 ·
-
Stray pipe in eventRemarks Apertafunction:write_dwc
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
jbkunst/highcharter#849 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
r-lib/pkgdepends#485 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100