server <- function(input, output, session) {
output$secure_content <- renderPrint({
session$userData$user()
})
observeEvent(input$sign_out, {
sign_out_from_shiny(session)
session$reload()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.