logoUrl

Extension property to get the logo URL for the OAuth provider.

This property retrieves the logo URL for the OAuth provider from the Clerk environment configuration. The logo URL can be used to display provider logos in authentication UIs. The URL is automatically trimmed of whitespace and validated to ensure it's not empty.

Return

The logo URL for the OAuth provider, or null if no logo URL is configured or available in the current environment settings.

Example usage:

val provider = OAuthProvider.GOOGLE
val logoUrl = provider.logoUrl // Returns the Google logo URL or null

// Use in UI
logoUrl?.let { url ->
// Load and display the logo image
}