Does anyone have the experience of getting the user_id in the website created by learnr and published in RStudio Connect? We are building a e-learning service for R language with learnr package and RStudio Connect.
For implementing individualized learning log and recommendation, we would like to get the log in ID (with RStudio Connect) of the current user and store all the learning process of this user. However, whatever the current user is, in the back-end build by learnr's "user_id" parameter (https://rstudio.github.io/learnr/publishing.html), we can only get "rstudio-connect" as the user ID. For example, the current user is lillianTest in rstudio connect, so we want to get the “lillianTest” to store in our database, but now it return the “rstudio-connect”.
Is there any suggestion to get the current user ID with learnr package and RStudio Connect?