SSO and local logins

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 :frowning: Is strange.

As far as I know, this is not possible.

Thanks! :frowning:

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 ?

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.

Hi and thanks for answer.

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 ).

Any ideas ? :slightly_smiling:

이 문제에 대한 업데이트가 있나요? 저희 시스템에서는 SSO를 사용하되, SSO를 통해 접근해서는 안 되는 일부 외부 멤버를 위해 초대 후 등록을 추가로 활성화해야 합니다.

나도 마찬가지인데, SSO와 로컬 로그인 두 가지 옵션을 모두 사용할 수 있으면 좋겠어.
지금은 SSO 사용자만 사용 가능해서 더 큰 커뮤니티로 확장하는 게 막혀 있어.