diff --git a/R/get_access_token.R b/R/get_access_token.R index d8d8f58..6722ca6 100644 --- a/R/get_access_token.R +++ b/R/get_access_token.R @@ -74,7 +74,8 @@ get_access_token <- login_response <- login_request %>% httr2::req_body_form( username = username, - password = openssl::md5(keyring::key_get("iasset_password")), + password = openssl::md5(keyring::key_get("iasset_password", + username = username)), domain = "riparias", version = "9.7" ) %>%