0

Im trying to implement a login (with Discord) button to my website. The authentication process was made with JS. Alright, the problem is that I need to access JS global variables from R (with Shiny, to change the UI as I need). I searched a lot but I didn't find anything that can help me :/

NathanPB
  • 685
  • 1
  • 7
  • 22
  • 1
    Take a look here: https://shiny.rstudio.com/articles/js-send-message.html, go to Scenario 2. – Ryan Morton Jun 04 '18 at 19:30
  • 1
    Does this help: https://shiny.rstudio.com/articles/js-send-message.html? It would be easier to answer your question if you provided a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) that can be used to test and verify possible solutions. What exactly needs to happen? – MrFlick Jun 04 '18 at 19:31
  • Thanks a lot, Shiny.onInputChange solved my problem – NathanPB Jun 05 '18 at 21:00

0 Answers0