Skip to content

Returns {issuer}/admin/account/password?client_id={client_id}. It is a fixed path, not in the discovery document, so nothing is fetched. The portal signs the person in if needed, and its page links back to the client's registered System address.

Usage

sso_password_url(client)

Arguments

client

A client from sso_client().

Value

The address, a single string.

Examples

client <- sso_client(
  issuer = "https://portal.example.org",
  client_id = "my-app",
  client_secret = "from-an-environment-variable",
  redirect_uri = "https://app.example.org/"
)
sso_password_url(client)
#> [1] "https://portal.example.org/admin/account/password?client_id=my-app"