Learn R Programming

azr (version 0.3.0)

default_redirect_uri: 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())

Value

A character string with the redirect URI

Arguments

redirect_uri

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

Examples

Run this code
default_redirect_uri()

Run the code above in your browser using DataLab