O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Social Site Authentication In Odoo v10

704 visualizações

Publicada em

In Odoo, each user will have a username and a password.
They can sign into Odoo with this user name and password.
Other than this, Odoo provides options for the users to sign in with other accounts such as google or Facebook.

Publicada em: Negócios
  • The #1 Woodworking Resource With Over 16,000 Plans, Download 50 FREE Plans... ▲▲▲ https://bit.ly/2SyPceJ
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • Want to preview some of our plans? You can get 50 Woodworking Plans and a 440-Page "The Art of Woodworking" Book... Absolutely FREE ♥♥♥ http://ishbv.com/tedsplans/pdf
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • Want to preview some of our plans? You can get 50 Woodworking Plans and a 440-Page "The Art of Woodworking" Book... Absolutely FREE ■■■ http://tinyurl.com/yy9yh8fu
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • Seja a primeira pessoa a gostar disto

Social Site Authentication In Odoo v10

  1. 1. www.cybrosys.com Social Site Authentication In Odoo v10
  2. 2. INTRODUCTION • In Odoo, each user will have a username and a password. • They can sign into Odoo with this user name and password. • Other than this, Odoo provides options for the users to sign in with other accounts such as google or Facebook.
  3. 3. • For enabling this feature, first we have to make sure that the incoming and outgoing mail servers are correctly configured. • This can be done under the 'Email' menu in the settings. • After it is done, go to Settings -> General Settings and enable the 'Authentication' option.
  4. 4. • Apply the changes and you can see a new option is appeared. Apply the changes and you can see a new option is appeared.
  5. 5. • Enable the 'Authentication' option to allow users to sign in with Google. • Once this option is enabled, we can see a field to enter the google client Id. • If you do not have a client Id, you have to obtain one first.
  6. 6. • You can enable the 'Show Tutorial' option to see a demo of how to get a client id from google. • The process of getting a client Id is as follows.  First go to “https://console.developers.google.com/” and create a new project.  After this, under the API manager, click on Credentials and go to Oauth Consent Screen.  Fill the product name and save it.
  7. 7. After it is done, click on Create Credentials and select the option, Oauth Client ID, then select Web application from the list.
  8. 8. • Fill the Authorized redirect URIs field, like, “http://your_domain_name/auth_oauth/signin”. After this, you will get your client ID. • When providing the URI, it is not allowed to enter raw IP address. i.e, like, http://0.0.0.0:8082/auth_oauth/signin. • We have to provide proper domain name or IP address, it should end like .com or .org. • Enter this client ID in Odoo (Settings -> General Settings -> Google Integration -> Google client id).
  9. 9. • Now under Settings -> Users, a new menu 'Oauth Providers' will be appeared. • Under this menu, we can see the providers list. • Now open odoo.com accounts and uncheck the 'Allowed' field. • Enable the 'Allowed' field for Google Oauth2. • Once it is done, we can create new users and provide the email address. • This email address should be the user’s google account. • Under the 'Oauth' tab, select the Oauth provider as Google Oauth2 and save the record.
  10. 10. • Now if we go to the login page, we can find a new option for the users to sign in with Google accounts
  11. 11. • We will be redirected to the google account sign in page upon clicking on the 'Login with Google' link. • From here, we can sign into our google account and after we have signed in, we will be redirected to Odoo.
  12. 12. Use Facebook to sign in : • If we need to use Facebook to sign in to Odoo instead of Google, we need to follow these steps. • First we need to obtain a client id from Facebook. • For this, go to https://developers.facebook.com/apps and sign in with your Facebook account. • We can see our apps here. • Add a new app from here. • If you are doing this for the first time, then click on the register now button.
  13. 13. • Provide a name and email address for the app and save it. • After it is created, we can see the created app and its id.
  14. 14. • Here, ‘Odoo test’ is my app name. • Click on the settings to open the settings related to our app. • Here we can provide the domain of our Odoo and the complete URL.
  15. 15. • One thing we have to note is, the domain we are providing should be same as the domain we use in Odoo. • Save the changes and copy the app id. • Now we can go to our Odoo and open the Facebook graph from the OAuth providers menu under settings. • Fill the client id field with the app id and tick the field ‘Allowed’.
  16. 16. • Now we can see an option to sign in with Facebook in our login page. • When we click on that link, we will be redirected to a page where we can sign in to our Facebook and after signing in, we will be redirected to Odoo.
  17. 17. Refer this link for more: https://www.cybrosys.com/blog/site-authentication-odoo-v10
  18. 18. Thank You ! Cybrosys Technologies Pvt. Ltd. Neospace, Kinfra Techno Park, Kakkancherry, Calicut University P.O. Calicut Kerala, India - 673635. Cybrosys Ltd 15, ST Antonys Road, Forest Gate, London England, E79QA. Cybrosys Technologies Pvt. Ltd. 1st Floor, Thapasya Building, Infopark, Kakkanad, Kochi, Kerala, India-682030.

×