Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Cannot sign up with google account (oauth)

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
oauth
3 Réponses
15167 Vues
Avatar
thenon

I'm trying to set up oauth.

After an attempted log in, I get redirected to:

action=login&oauth_error=3

If I look at

auth_oauth.js

it doesn't cater for this code.

What does it mean?

0
Avatar
Ignorer
Avatar
Martin
Meilleure réponse

I saw you ask this originally a couple of weeks ago. I tried to replicate the problem, but couldn't. However, having gone through the whole process successfully I made some videos. I'd be pleased to know that they got you past this road-block.

They don't address your oauth_error=3 problem, but if you were to try the same steps as in the video on a fresh database and were successful, it might help you understand what when wrong to cause the error in the first place.

OpenERP and Google

All three together will cost you 7 minutes. :-)

(no audio by choice)

2
Avatar
Ignorer
thenon
Auteur

Have watched them - they're great, thank you. But yes, doesn't help. I can't even sign up, so don't get anywhere. I'm starting to suspect its an setting on my google app domain regarding federated sign in, but can't find the issue.

Martin

Hmmm. I remember seeing something on the web about OAuth being different for Google Apps accounts and normal free personal accounts. Have you tried creating a new "plainold" GMail account, and testing everything with that?

Martin

Have you even detected which software throws oauth_error=3, to get an idea of what it is supposed to mean? Anything in your log files?

Lorenzo Cabrini

@Martin H. Bramwell: so you've taken all this time to look into somebody else's problem, and recorded videos and all. That's what open source should be about, great work! At least they should honor you with a special badge, "dedicated" or something similar.

Martin

I wouldn't take it to that extreme. In fact open source is about sharing the benefits of one's own research. Thenon's problem coincided with my own need, and I wanted to be sure I knew how to avoid the oauth_error=3 sinkhole. I also saw a real lack of a proper explanation on how to do Google OAuth, so I made the videos. I tried to make the kind of howto video I myself look for : a thorough explanation in less than 10 minutes. Sure, a special badge would be nice! Of course getting your one up tick of recognition is also nice. Thanks! Well, I got one anyway. :-(

thenon
Auteur

Agreed - thanks for the help! Well this is the error the debug log shows: openerp.addons.auth_oauth.controllers.main: OAuth2: access denied, redirect to main page in case a valid session exists, without setting cookies. Haven't tried plain ol gmail yet (agree its a good idea) because to be honest, if I can't get it working for the apps domain, then it's not useful to me.

Martin

I do not have an apps domain or I would try it out, to see if it is indeed the case that there are differences. Perhaps someone else can confirm. I don't have time right now.

Martin

hey, I suppose you have tried from a different browser?

Avatar
Cody Unrath
Meilleure réponse

I'm having a similar issue but I'm only getting the 500 internal server error, but, the user ends up in Odoo anyway.

|-----Update-----|

My issue was due to the default template for external user sign-in being set to Public user:

Settings --> General Settings:

 □ Allow external users to sign up

Template user for new users created through signup [Public user] □->

I read about this in a Bug report, Public user does not have the proper permissions and is not reccomended for use in this instance.

https://github.com/odoo/odoo/issues/951

500: Internal server Error After New Public User Signup/Login #951

1
Avatar
Ignorer
CARLOS ALBERTO GARCIA BRIZUELA

Thanks for the tip. In Odoo v13 need to activate in Settings/General Settings in the Users/Customer Account section set the option "Free sign up".

Hope it helps!

Avatar
David Dean
Meilleure réponse

Here are detailed instructions on how I managed to get Google Apps (not Gmail) authentication to work with Odoo 8:

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

Google Apps authentication is different to standalone Gmail accounts, so make sure you follow each step carefully. In particular, filling out the consent screen section is important otherwise your redirect won't work. Most instructions don't mention this bit.

 

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Keycloak authentication
oauth
Avatar
0
déc. 22
8986
How can I offer Google OAuth login to new users?
oauth
Avatar
Avatar
Avatar
2
mars 21
14117
oAuth Providers Odoo
oauth
Avatar
Avatar
1
mai 15
6384
Using odoo as an Oauth provider
oauth access
Avatar
Avatar
1
juin 25
1950
Locked out of new install due to enabling oauth (12.0)
oauth 12.0
Avatar
Avatar
Avatar
2
janv. 19
4796
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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