You won’t need to provide a connection in the code of your application, it will be shown on the login page as a way to sign in for example with Okta Enterprise or Google Workspace. The connection will only be used to authenticate the user into his organization account and make sure that the user’s identity is bounded by the organization he’s a member of. This is the simpler and the recommended way of achieving the security you desire.