I have been working on an RShiny app in which files can be created and downloaded, which uses the cognitoR package for the log-in. One of the possible download options is a downloadHandler in which multiple files will be combined into a zip. When the zip is downloaded and I try to refresh the page, the entire link breaks, and it can only be restored by re-commiting the entire code in GitHub, hence this is not a standard error.
The error that is produced is:
Warning: Error in module: Your configuration for Cognito Service is not correct.
45: stop
44: module
39: callModule
38: server [/srv/shiny-server/app.R#321]
1: runApp
Error in module(childScope$input, childScope$output, childScope, ...) :
Your configuration for Cognito Service is not correct.
Terminated
It looks like using the cognitoR for a login, in combination with a zip download (in which multiple temporary paths are created) breaks the link. The package works perfectly when I download a single CSV / XLSX, so it seems to be ZIP related.
Do you perhaps have a solution for this issue?
Appreciate your time and I'm happy to provide more information if necessary!
Hi,
I have been working on an RShiny app in which files can be created and downloaded, which uses the cognitoR package for the log-in. One of the possible download options is a downloadHandler in which multiple files will be combined into a zip. When the zip is downloaded and I try to refresh the page, the entire link breaks, and it can only be restored by re-commiting the entire code in GitHub, hence this is not a standard error.
The error that is produced is: Warning: Error in module: Your configuration for Cognito Service is not correct. 45: stop 44: module 39: callModule 38: server [/srv/shiny-server/app.R#321] 1: runApp Error in module(childScope$input, childScope$output, childScope, ...) : Your configuration for Cognito Service is not correct. Terminated
It looks like using the cognitoR for a login, in combination with a zip download (in which multiple temporary paths are created) breaks the link. The package works perfectly when I download a single CSV / XLSX, so it seems to be ZIP related.
Do you perhaps have a solution for this issue?
Appreciate your time and I'm happy to provide more information if necessary!