Hi everyone :wave: I'm currently implementing acco...
# ory-selfhosting
w
Hi everyone 👋 I'm currently implementing account linking for social providers (Google, Apple) in a self-hosted ORY Kratos setup (not using the Ory Account Experience UI). Here is the doc i've found around this -> https://www.ory.sh/docs/kratos/social-signin/link-multiple-provider-account Here's what I'm doing: • The user is authenticated (via password) • I fetch the settings flow from
/self-service/settings/api
Then I try to initiate the provider link via: https://kratos-host/self-service/settings?flow=flow-id&provider=provider However, the provider linking doesn't trigger — there's no redirect to Google and nothing happens. My flow returns only profile/password-related inputs, no OIDC-related actions. Am I missing a configuration flag or required setting to enable this behavior in self-hosted mode? (We're using open source version of Ory Kratos, not Ory OEL) Would appreciate any guidance — most docs focus on the Ory Account Experience, but we’re managing our own frontend Thanks! Also i've found existing issue on github -> https://github.com/ory/kratos/issues/4185
s
In case you'd be interested, I've been experimenting with this not long ago and got it working with this code, both the redirect via webview and id_token flavors: https://github.com/leancodepl/kratos/commit/4c97f5058116be57780649497346e5625c701d78 Feel free to take a look, play with it, use that code if you wish. Just keep in mind that it's only a PoC for my company's internal use so there's no warranty of any kind.