See #24680. load the jwt token in the Rprofile

This commit is contained in:
Andrea Dell'Amico 2023-03-01 14:38:29 +01:00
parent d0c31e80fc
commit 9f222c3ca5
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 7 additions and 0 deletions

View File

@ -33,4 +33,11 @@ local({r <- getOption("repos")
Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8")
require(d4storagehub4R)
# more information at ?StoragehubManager
.WORKSPACE = d4storagehub4R::StoragehubManager$new(
token_type = "jwt", token = Sys.getenv("SHINYPROXY_OIDC_ACCESS_TOKEN")
)
print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));