# Customized login

**URL:** https://meta.discourse.org/t/customized-login/101331
**Category:** SSO
**Created:** [November 5, 2018, 6:17pm UTC](https://meta.discourse.org/t/customized-login/101331 "2018-11-05T18:17:39Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![thusar\_Chhade](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@thusar\_Chhade](https://meta.discourse.org/u/thusar_Chhade)
#### Post date: [November 5, 2018, 6:17pm UTC](https://meta.discourse.org/t/customized-login/101331/1 "2018-11-05T18:17:40Z")

</div>

We have a site in php(laravel framework) and want to use our own login/sign up method instead of using discourse login/signup- meaning we would like Discourse to use our existing website user database for authentication, how it can be achieved?, is it possible to do this kind of changes/customization when discourse host our forum? also are there any limitations on customization?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 5, 2018, 6:57pm UTC](https://meta.discourse.org/t/customized-login/101331/2 "2018-11-05T18:57:37Z")

</div>

Search here for "SSO’ the wp-discourse plugin has an implementation in php.

---

<div class="post-metadata">

### Author: ![thusar\_Chhade](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@thusar\_Chhade](https://meta.discourse.org/u/thusar_Chhade)
#### Post date: [November 5, 2018, 6:59pm UTC](https://meta.discourse.org/t/customized-login/101331/3 "2018-11-05T18:59:07Z")

</div>

ok, is it possible to do customization when discourse host our forum?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 5, 2018, 7:00pm UTC](https://meta.discourse.org/t/customized-login/101331/4 "2018-11-05T19:00:49Z")

</div>

You should be able to make your site compatible with the standard [discourse SSO](https://meta.discourse.org/t/13045?silent=true) interface, so if your plan supports SSO you’d be in good shape.

---

<div class="post-metadata">

### Author: ![thusar\_Chhade](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@thusar\_Chhade](https://meta.discourse.org/u/thusar_Chhade)
#### Post date: [November 5, 2018, 7:37pm UTC](https://meta.discourse.org/t/customized-login/101331/5 "2018-11-05T19:37:59Z")

</div>

if we customize sso, For the existing our site users that uses email/password would they be able to use discourse?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 5, 2018, 7:50pm UTC](https://meta.discourse.org/t/customized-login/101331/6 "2018-11-05T19:50:41Z")

</div>

The purpose of single sign-on is to re-use an existing sign-on session. If you implement SSO correctly your users would be redirected back to your website and if they’re already signed in they would be seamlessly signed in and redirected to the Discourse site. If they aren’t already signed in to your site then they would complete the sign-in process and then be redirected back to Discourse.

Discourse wouldn’t use the emails and passwords from your other database directly, SSO relies on your existing site handling things like authentication and email verification. It assumes you’re already doing those things with a goal of keeping things to one set of credentials and a single authentication challenge.

---

<div class="post-metadata">

### Author: ![thusar\_Chhade](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@thusar\_Chhade](https://meta.discourse.org/u/thusar_Chhade)
#### Post date: [November 5, 2018, 8:19pm UTC](https://meta.discourse.org/t/customized-login/101331/7 "2018-11-05T20:19:06Z")

</div>

We have a site called [videoamigo.com](http://videoamigo.com), half our registered users uses google to sign in and the other half uses email/password. Can all of them use discourse without re-registering?  
If yes then how?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 6, 2018, 11:08am UTC](https://meta.discourse.org/t/customized-login/101331/8 "2018-11-06T11:08:01Z")

</div>

Your site would need to support Google logins and all discourse users would need to have accounts on your system.

The first S in SSO stands for Single.
