Function to create a DaVinci instance. fun main() { val daVinci = DaVinci { module(Oidc) { clientId = "your-client-id" redirectUri = "your-redirect-uri" scopes = listOf("openid", "profile") } } }
Function to retrieve the user.