# SSO and local logins

**URL:** https://meta.discourse.org/t/sso-and-local-logins/39103
**Category:** SSO
**Created:** [5 Fevereiro , 2016 16:25 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103 "2016-02-05T16:25:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sergiy.pavlenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sergiy.pavlenko/32/50660_2.png) [@sergiy.pavlenko](https://meta.discourse.org/u/sergiy.pavlenko)
#### Post date: [5 Fevereiro , 2016 16:25 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/1 "2016-02-05T16:25:45Z")

</div>

Hi, all

I try connect my site with forum ( discourse ). But, have a problem. If enable SSO in admin panel, user can auth only from SSO ( without local login or social networks ). If I disable SSO, user can auth from local login and social networks, but not from SSO.

I can enable SSO auth and local logins ? For my users if register on general site, automatically auth on my forum. Or if user not have account on general site, create new account on forum.

I find “solution” create new auth\_provider ( openid ). But, discourse after auth with example Facebook need fill register fields. Not automatically auth ☹ Is strange.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [5 Fevereiro , 2016 17:07 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/2 "2016-02-05T17:07:10Z")

</div>

> [@sergiy.pavlenko](#):
>
> I can enable SSO auth and local logins ?

As far as I know, this is not possible.

---

<div class="post-metadata">

### Author: ![sergiy.pavlenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sergiy.pavlenko/32/50660_2.png) [@sergiy.pavlenko](https://meta.discourse.org/u/sergiy.pavlenko)
#### Post date: [5 Fevereiro , 2016 18:50 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/3 "2016-02-05T18:50:00Z")

</div>

Thanks! ☹

Maybe I can write new auth provider ( as Facebook ). But, after auth in my provider, user automatically auth? Now after first auth, need fill fields in register form. I can skip this form ?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [5 Fevereiro , 2016 22:41 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/4 "2016-02-05T22:41:54Z")

</div>

If your auth provider provides e-mail the sign up form come in with fields already populated.

When using SSO the idea is my users are already authenticated by external service and social and local logins should be handled at the external service.

---

<div class="post-metadata">

### Author: ![sergiy.pavlenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sergiy.pavlenko/32/50660_2.png) [@sergiy.pavlenko](https://meta.discourse.org/u/sergiy.pavlenko)
#### Post date: [5 Fevereiro , 2016 22:58 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/5 "2016-02-05T22:58:47Z")

</div>

Hi and thanks for answer.

> [@Falco](#):
>
> If your auth provider provides e-mail the sign up form come in with fields already populated.

Yes, I know. I can “disable” form register after auth from my auth provider ? I mean after auth from my auth provider, user automatically login on site ( not need fill fields on register form ).

---

<div class="post-metadata">

### Author: ![sergiy.pavlenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sergiy.pavlenko/32/50660_2.png) [@sergiy.pavlenko](https://meta.discourse.org/u/sergiy.pavlenko)
#### Post date: [6 Fevereiro , 2016 12:40 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/6 "2016-02-06T12:40:08Z")

</div>

Any ideas ? 🙂

---

<div class="post-metadata">

### Author: ![dpb](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@dpb](https://meta.discourse.org/u/dpb)
#### Post date: [30 Março , 2020 15:02 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/7 "2020-03-30T15:02:12Z")

</div>

Há alguma atualização sobre isso? No nosso sistema, gostaríamos de usar SSO, mas precisamos também habilitar o registro após convite para alguns membros externos que não devem ter acesso via SSO.

---

<div class="post-metadata">

### Author: ![Malek1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/malek1/32/204039_2.png) [@Malek1](https://meta.discourse.org/u/Malek1)
#### Post date: [27 Outubro , 2021 06:50 UTC](https://meta.discourse.org/t/sso-and-local-logins/39103/8 "2021-10-27T06:50:08Z")

</div>

O mesmo para mim, gostaria de ter ambas as possibilidades: SSO e logins locais.  
Agora estou preso apenas aos meus usuários SSO e não consigo abrir para uma comunidade maior.
