HttpCallbackConfig

data class HttpCallbackConfig(var httpPort: Int = 0, var timeout: Duration = 1.minutes, var htmlTitle: String = "Supabase Auth", var redirectHtml: String = HttpCallbackHtml.redirectPage("https://supabase.com/brand-assets/supabase-logo-icon.png", "Supabase Auth", "Logged in. You may continue in your app"))(source)

Http callback configuration for the web server, when logging in with OAuth.

Constructors

Link copied to clipboard
constructor(httpPort: Int = 0, timeout: Duration = 1.minutes, htmlTitle: String = "Supabase Auth", redirectHtml: String = HttpCallbackHtml.redirectPage("https://supabase.com/brand-assets/supabase-logo-icon.png", "Supabase Auth", "Logged in. You may continue in your app"))

Properties

Link copied to clipboard

The title of the html page, when logging in with OAuth. Defaults to "Supabase Auth".

Link copied to clipboard

The port the web server is running on, when logging in with OAuth. Defaults to 0 (random port).

Link copied to clipboard

The html content of the redirect page, when logging in with OAuth. Defaults to a page with a title, text and icon.

Link copied to clipboard

The timeout for the web server, when logging in with OAuth. Defaults to 1 minute.