diff --git a/DESCRIPTION b/DESCRIPTION index 7f94fd8..dd545ae 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: sbtools Title: USGS ScienceBase Tools Maintainer: David Blodgett -Version: 1.3.0 +Version: 1.3.1 Authors@R: c(person("David", "Blodgett", role=c("cre"), email = "dblodgett@usgs.gov"), person("Luke", "Winslow", role = c("aut"), diff --git a/NEWS.md b/NEWS.md index 690f4cb..b4c5ce7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# version 1.3.1 + +Improved handling of cached token. + # version 1.3.0 In this release, sbtools underwent a significant migration from `josso` login to `keycloak`-based two factor authentication. See #314 for details of the changes. diff --git a/vignettes/sbtools.Rmd b/vignettes/sbtools.Rmd index 40536ac..011940e 100644 --- a/vignettes/sbtools.Rmd +++ b/vignettes/sbtools.Rmd @@ -61,7 +61,9 @@ Much of `sbtools` is intended to be used after authentication. This part of `sbt The old way used `authenticate_sb()` with a username and password. The password could be cached using the `keyring` package. -```{r} +NOTE: This method no longer works and is shown here for reference with regard to old code and workflows. + +```{r, eval=FALSE} authenticate_sb(Sys.getenv("sb_user")) my_home_item <- user_id()