Muhammed NabeelFeb. 15, 2019
Odoo has an advantage, it allows us to log in with external accounts like Google+, Facebook etc. In Order to get this function, firstly, we have to configure the Incoming and Outgoing mail servers correctly.
These are the steps to configure incoming mail servers:
Settings>Email>Incoming mail servers
Then clicking on the create button you will get a form like this,
Then fill up the fields as:
To configure outgoing mail servers:
Settings>Email>Outgoing mail servers
Then clicking on the create button you will get a form like this,
Then fill up the fields as:
Next, install the OAuth2 Authentication module:
Then Settings>General Settings, enable OAuth Authentication:
Next enable Google Authentication:
Then enter the client id. To get the client id to follow the Tutorial link below:
Then go to Users>OAuth Providers:
Select Google OAuth2 then paste the client id given by the Google app and tick the Allow checkbox and save it
After that, we got the link to Google account:
Via login through the Facebook account, then, go to Users>OAuth Providers:
Select the Facebook Graph then paste the client id given by the Facebook app and tick the Allow checkbox and save it.
To get the Facebook client id go to https://developers.facebook.com/apps
After that, we got the link to the Facebook account:
In such a way it is possible to Login With External Accounts In Odoo.