# I want to have an invite based Social Sign Login

**URL:** <https://forum.keycloak.org/t/i-want-to-have-an-invite-based-social-sign-login/12674>\
**Category:** Getting advice\
**Tags:** authentication, identity-brokering, oidc\
**Created:** [December 17, 2021, 2:14pm UTC](https://forum.keycloak.org/t/i-want-to-have-an-invite-based-social-sign-login/12674 "2021-12-17T14:14:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhinavsingh-ti](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/abhinavsingh-ti/32/4605_2.png) [@abhinavsingh-ti](https://forum.keycloak.org/u/abhinavsingh-ti)\
**Post date:** [December 17, 2021, 2:14pm UTC](https://forum.keycloak.org/t/i-want-to-have-an-invite-based-social-sign-login/12674/1 "2021-12-17T14:14:37Z")

</div>

I am very new to KeyCloak, so sorry if this feels a dumb question.  
I have this use-case, I invite user to do a sign up on the system, invited user comes and does a social sign up. I do not want to have any kind of self sign up or password based login.  
Can this be done in KeyCloak, if yes then how to this.

Thanks

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [December 19, 2021, 6:16pm UTC](https://forum.keycloak.org/t/i-want-to-have-an-invite-based-social-sign-login/12674/2 "2021-12-19T18:16:24Z")

</div>

Keycloak does not support this by default. It is possible to do what you want by building custom extensions. If you are comfortable with that, I would recommend:

1. Add a custom resource that creates and sends the invitation as an action token  
a. docs for building rest endpoints [Server Developer Guide](https://www.keycloak.org/docs/latest/server_development/#_extensions_rest)  
b. docs for building action tokens and handlers [Server Developer Guide](https://www.keycloak.org/docs/latest/server_development/#_action_token_spi)
2. Add a custom Authenticator that only allows social logins from users who have been invited  
a. docs for authenticators [Server Developer Guide](https://www.keycloak.org/docs/latest/server_development/#_auth_spi)

None of these things is trivial, although there are people who can help you here if you dive into it and have questions.
