OpenApiSpex.Plug.SwaggerUIOAuth2Redirect (open_api_spex v3.21.5)
View SourceThis plug will handle the callback from an OAuth server
Summary
Functions
Initializes the plug.
Functions
Initializes the plug.
Options
:csp_nonce_assign_key- Optional. An assign key to find the CSP nonce value used for assets. Supports eitheratom()or a map of type%{optional(:script) => atom()}.
Example
get "/oauth2-redirect.html",
OpenApiSpex.Plug.SwaggerUIOAuth2Redirect,
csp_nonce_assign_key: %{script: :script_src_nonce}