Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Cannot sign up with google account (oauth)

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
oauth
3 Respostas
15193 Visualizações
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
Cancelar
Avatar
Martin
Melhor resposta

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
Cancelar
thenon
Autor

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
Autor

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
Melhor resposta

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
Cancelar
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
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Keycloak authentication
oauth
Avatar
0
dez. 22
9027
How can I offer Google OAuth login to new users?
oauth
Avatar
Avatar
Avatar
2
mar. 21
14131
oAuth Providers Odoo
oauth
Avatar
Avatar
1
mai. 15
6395
Using odoo as an Oauth provider
oauth access
Avatar
Avatar
1
jun. 25
1999
Locked out of new install due to enabling oauth (12.0)
oauth 12.0
Avatar
Avatar
Avatar
2
jan. 19
4808
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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