diff --git a/R/oauth2.R b/R/oauth2.R index df289df4..a6aa36fc 100644 --- a/R/oauth2.R +++ b/R/oauth2.R @@ -35,7 +35,7 @@ oauth_request <- function(req) { cache_key = getOption("osmapir.base_api_url"), scope = paste(scope, collapse = " "), pkce = TRUE, - host_name = "127.0.0.1" + redirect_uri = "http://127.0.0.1" ) return(req)