Authentication question

We have our web application . Like we have the way to sign in application with google,Microsoft ,facebook etc. we want to implement the way to sign in to our application with okta. I have seen the openid way but it needs domain name so it will not work across all domain so is their any way to achieve this so that users can access our application regardless of domain?