Add user through API with identity provider access (Bitbucket, Github etc.)

Hi,

For my application I am using Keycloak, where most of the users will be using Github, Bitbucket or Google as their login (identity provider).

In my system I have an Admin who can invite/add users in Keycloak, which I am going to implement through the API (I read this should be possible).

Is there a way where I can invite user’s through a registration link, where they also get the option to login/register through Bitbucket, Github, Google etc?