shinyOAuth0.1.4 package

Provider-Agnostic OAuth Authentication for 'shiny' Applications

client_bearer_req

Build an authorized httr2 request with Bearer token

custom_cache

Create a custom cache backend (cachem-like)

error_on_softened

Throw an error if any safety checks have been disabled

get_userinfo

Get user info from OAuth 2.0 provider

handle_callback

Handle OAuth 2.0 callback: verify state, swap code for token, verify t...

introspect_token

Introspect an OAuth 2.0 token

is_ok_host

Check if URL(s) are HTTPS and/or in allowed hosts lists

oauth_client

Create generic OAuthClient

oauth_module_server

OAuth 2.0 & OIDC authentication module for Shiny applications

oauth_provider_auth0

Create an Auth0 OAuthProvider (via OIDC discovery)

oauth_provider_github

Create a GitHub OAuthProvider

oauth_provider_google

Create a Google OAuthProvider

oauth_provider_keycloak

Create a Keycloak OAuthProvider (via OIDC discovery)

oauth_provider_microsoft

Create a Microsoft (Entra ID) OAuthProvider

oauth_provider_oidc_discover

Discover and create an OpenID Connect (OIDC) OAuthProvider

oauth_provider_oidc

Create a generic OpenID Connect (OIDC) OAuthProvider

oauth_provider_okta

Create an Okta OAuthProvider (via OIDC discovery)

oauth_provider_slack

Create a Slack OAuthProvider (via OIDC discovery)

oauth_provider_spotify

Create a Spotify OAuthProvider

oauth_provider

Create generic OAuthProvider

OAuthClient

OAuthClient S7 class

OAuthProvider

OAuthProvider S7 class

OAuthToken

OAuthToken S7 class

prepare_call

Prepare a OAuth 2.0 authorization call and build an authorization URL

refresh_token

Refresh an OAuth 2.0 token

shinyOAuth-package

shinyOAuth: Provider-Agnostic OAuth Authentication for 'shiny' Applica...

state_payload_decrypt_validate

Decrypt and validate OAuth state payload

state_store_get_remove

Fetch and remove the single-use state entry

use_shinyOAuth

Add JavaScript dependency to the UI of a Shiny app

Provides a simple, configurable, provider-agnostic 'OAuth 2.0' and 'OpenID Connect' (OIDC) authentication framework for 'shiny' applications using 'S7' classes. Defines providers, clients, and tokens, as well as various supporting functions and a 'shiny' module. Features include cross-site request forgery (CSRF) protection, state encryption, 'Proof Key for Code Exchange' (PKCE) handling, validation of OIDC identity tokens (nonces, signatures, claims), automatic user info retrieval, asynchronous flows, and hooks for audit logging.

  • Maintainer: Luka Koning
  • License: MIT + file LICENSE
  • Last published: 2025-11-24