Skip to content

Commit

Permalink
Fix The host_name argument of oauth_flow_auth_code() is deprecate…
Browse files Browse the repository at this point in the history
…d as of httr2 1.0.0.
  • Loading branch information
jmaspons committed Dec 15, 2023
1 parent ba15344 commit f3d5f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/oauth2.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f3d5f45

Please sign in to comment.