default_redirect_uri: Get default OAuth redirect URI

View source: R/defaults.R

default_redirect_uriR Documentation

Get default OAuth redirect URI

Description

Constructs a redirect URI for OAuth flows. If the provided URI doesn't have a port, assigns a random port using httpuv::randomPort().

Usage

default_redirect_uri(redirect_uri = httr2::oauth_redirect_uri())

Arguments

redirect_uri

A character string specifying the redirect URI. Defaults to httr2::oauth_redirect_uri().

Value

A character string with the redirect URI

Examples

default_redirect_uri()

azr documentation built on Feb. 18, 2026, 1:07 a.m.