https://www.ory.sh/ logo
b

bright-student-72333

12/08/2021, 8:58 AM
Hey Guys we are trying to add Social login to flutter apps, but the docs say that Social logins wont work with HTTP endpoints, i was wondering since dart package is just a wrapper around HTTP would OIDC work
m

magnificent-energy-493

12/08/2021, 9:11 AM
It should work yes, we do have some users with flutter mobile apps, I will see if I can get a hold of them. we also have a blogpost about flutter/kratos https://www.ory.sh/cloud-ecommerce-frontend/
It is using Ory Cloud, so if you self-host it might be a bit โ€œmoreโ€, but in both cases Ory Kratos is used
b

bright-student-72333

12/08/2021, 11:07 AM
I followed the example, and changed the
/self-service/login
POST method to "oidc" this is the error i get
Copy code
"messages": [
            {
                "id": 4000001,
                "text": "Social Sign In and OpenID Connect are only supported for flows initiated using the Browser endpoint.",
                "type": "error"
            }
        ]
    },
but when i run the quickstart frontend app, it works fine
f

freezing-needle-9807

12/08/2021, 11:33 AM
No OIDC flows for api ๐Ÿ™‚
๐Ÿ˜“ 1