Hello, we have implemented Social Sign in in your ...
# talk-kratos
a
Hello, we have implemented Social Sign in in your website and we want add it to our React Native apps. We configure the callback URL but the form didn’t show into the web except if we specifiy
returnTo
to :
https
Copy code
const {data} = await Frontend.createNativeLoginFlow(
      isConnected
        ? {
            refresh: true,
            aal: 'aal1',
            xSessionToken: session?.token,
          }
        : {
            return_to: 'https://',
            returnSessionTokenExchangeCode: true,
          },
    );
    setFlow(data);
If we connect with the provider, the documentation here https://www.ory.sh/docs/kratos/social-signin/native-apps#steps-6-12-open-the-identity-provider-authentication-url-in-a-browser said that we must have a 422 status code but we don’t have this code. Can you tell me what i’ve miss in my code configuration please ?
b
Could you post what response you get instead of the 422?
a
@bland-eye-99092 we now have the 422 code to open the provider URL into a browser. Right now. If i unterstand, after the provider login, we are redirect to the return_to URL and this URL has the code in query parameter ?
Like explain here : the browser redirect to our URL but without the code in query parameters : https://ory-community.slack.com/archives/C02MR4DEEGH/p1684223531295739?thread_ts=1683744709.938809&cid=C02MR4DEEGH did we miss another configuration ?