Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

OpenERP and Google OAuth

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
googleemailuseroauthsubdomain
5 Risposte
33141 Visualizzazioni
Avatar
Santiago

Greetings,

In our company we use Google Apps for our business, and we would like to set up with OpenERP, so based in documentation and other forum posts i did the following:

  • My OpenERP server is enabled in this URL: http://subdomain.mydomain.com:8069
  • Install OpenAuth module in OpenERP 7.0
  • In Google Console API, created a client_id with the proper "Redirect URL" as: http://subdomain.mydomain.com:8069/auth_oauth/signin
  • Enable and configure the module in OpenERP with the created client_id, and everything else left as it is.
  • Enter to http://subdomain.mydomain.com:8069/?db=DATABASENAME
  • The "Log in with Google" button appears (how could i make appear always?)
  • I use the correct email and password from Google Apps (user@mydomain.com or configured alias user@subdomain.mydomain.com)
  • The same email is configured as the user email and username in OpenERP
  • Google asks me for authorization, everything looks fine and Google redirects me to my OpenERP log in screen, BUT with no success, and with the following Authorization URL error: http://subdomain.mydomain.com:8069/#action=login&oauth_error=2

I have no idea what else to do, I have tried all the possible combinations with the email and username in OpenERP, but it seems I am missing something. Where do I configure or associate the user from OpenERP with the user of Google Apps?

Thanks!

Santiago

6
Avatar
Abbandona
Santiago
Autore

Also in the system parameters i changed the "mail.catchall.domain" from - http://subdomain.mydomain.com - to only - http://mydomain.com - this change is to have the same domain as my google apps account.

Avatar
Santiago
Autore Risposta migliore

Found the solution!...

If you follow the steps above you will be able to successfully configure Google Apps (Gmail) with OpenERP via the OAuth module. The only thing i was missing is an extra step I found in a youtube video; you have to:

  • Go to Settings - Users
  • To the users you want to give OAuth access, send them a password reset by using the "Send reset password instructions by email" option.
  • Ask your users (or yourself) to use the link they receive in their email, but, when they open it, they will only see the log in screen with the "Log in with Google" option. (no typical change password option available)
  • Use the proper Google account and voila! - Now it connects smoothly.

This worked for me, might be useful for someone else. Maybe a more technical user could explain us why it happens this?.

The Youtube video that show how to log in with Google in OpenERP: http://www.youtube.com/watch?v=A-iwzxEeJmc

Cheers!

9
Avatar
Abbandona
grayson

Can't seem to find the "Send reset password instructions by email" option in the Settings - Users area. Am I missing a module? I only see option to change password without email.

Santiago
Autore

Grayson, you have to enable the "Technical Options" for your administration user, under Configuration - Users - "Your User" - Access Rights ;-)

Avatar
Martin
Risposta migliore

For future readers.

I have created a (7 minute long) video series that incorporates the steps in the excellent correct answer provided here by Santiago S. into a complete demonstration beginning with an empty database.

Google OAuth Demo

I hope you find it helpful.

Note to AYODEJI OGUNYEMI : I deleted your answer by mistake. Sorry. Please watch the above movie and ask a NEW question. Don't use the answers area as a place to ask new questions.

6
Avatar
Abbandona
Avatar
David Dean
Risposta migliore

I had problems getting Odoo 8 to authenticate against my Google Apps domain with OAuth2. The process for Google Apps is different to standalone GMail and there are some extra steps to complete. Eventually I managed to get it working and I've put together detailed instructions here:

http://odootricks.wordpress.com/2014/09/18/setting-up-google-apps-authentication-for-odoo/

Hopefully this will help others.

 

1
Avatar
Abbandona
Avatar
seeram trinath babu
Risposta migliore

Hi! Its worked fine for me!, but thing is that it was allowing of unknow user with his gmail credentials to login into that..even though he can`t access the modules as he doesn`t see any of then because of template user as default,, but can any one help me how to restrict any other user rather than company`s alias mail extention should get error message to get rid of access into OpenERP.

Thank`x in advance

1
Avatar
Abbandona
Avatar
ayodeji ogunyemi
Risposta migliore

hello everyone sorry to wake up this thread, i am on the step of getting the google api, when i enter the redirect path http://198.x.x.x:xxxx/auth_oauth/signin

i get the invalid redirect ...

0
Avatar
Abbandona
Atul Kumar jain

i also get this invalid url any one who can help us

Nicholas Riegel 2

We are also having this problem.

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Google OAuth2 Authentication Error problem with OpenERP 7
google oauth
Avatar
0
apr 15
7064
Google oauth2 activation link not required reset button ???
google oauth
Avatar
0
mar 15
4755
Problem with creation of new user(send email)
email user
Avatar
Avatar
Avatar
Avatar
4
mar 15
10447
OAuth with Azure, existing User in Odoo database can't login
user oauth azure
Avatar
Avatar
1
ago 24
3330
Odoo Google spreadsheet error Risolto
google oauth spreadsheets
Avatar
1
gen 23
3680
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now