:wave: Hi everyone, i am struggling with Github OI...
# talk-kratos
b
👋 Hi everyone, i am struggling with Github OIDC I am confused that how can i initiate the flow? 1. Do i have to submit form with
self-service/methods/oidc/callback/github
and it will redirect me to my homepage with token/identity ? Please share reference if anybody have that, Thank you 🙂
b
b
Thank you @bright-policeman-41717 for quick replay 🙂 , I have ory self hosted instance and below is my configuration, although i am not able to find that with my custom UI how i can initiate and complete the GIthub OIDC registration
b
Oh that's great
You are using custom ui
b
Yes!
b
Ory has one community example
You can go through that once
p
Hi @bumpy-policeman-45538 You need to initialize the login / registration flow with Kratos (just like you would for password / passwordless) and then submit the form with the provided form data Kratos provides. We have a couple of examples on how to do this on our GitHub https://github.com/ory NextJs: https://github.com/ory/kratos-selfservice-ui-react-nextjs I would recommend that you take a look at Ory Elements https://github.com/ory/elements We have a complete guide on how to have login / registration / verification / recovery and settings pages with React and Preact https://www.ory.sh/docs/getting-started/custom-ui-ory-elements This guide works for both Self hosted and Ory Network projects - although I would recommend for simplicity sake you check out Ory Network 🙂 https://console.ory.sh/
b
Hi @proud-plumber-24205, Thank you for quick replay and better references, I am looking into this 🙂