Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
15494 Lượt xem

Hello!

I have some problem to set up Google Oauth. Here is what I did :

  • Create a Google Console Project (no API activated)

  • Set up an email and a product name for the OAuth screen

  • Get a OAuth Client ID (****.apps.googleusercontent.com)

  • Activate OAuth Authentification in General Settings

  • Paste the OAuth Client ID in Google OAuth2 Provider settings

  • Activate the provider (checkbox)

  • Change the name of the link

Test

  •  "Login with Google"

  • I enter my email (wich is the admin email, only user) and my password

  • I get the following error : "You do not have access to this database or your invitation has expired. Please ask for an invitation and be sure to follow the link in your invitation email."


I guess I forgot something?

Odoo 10.saas~14+e (Enterprise Edition)

Thanks!


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hey guys,

Using Odoo 12 but found out that you have to resend the invitation email and login with your Google credentials when you verify your email. 

Steps to replicate: Go to `Settings > Users & Companies`, select a user and go to the `OAuth` tab, select `Google OAuth2` and then hit `Re-send invitation email`.

Cheers!

Ảnh đại diện
Huỷ bỏ

This worked for me... I used login with google at the login page when I was sent to the page for setting my password

Câu trả lời hay nhất

Hello Félix,

Did you have any solution about the issue, I am fronting the same problem.

Regards.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,
The problem is that the email of the google account you are using is already affected to a res.partner 
Try with a different google account, it should work
Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 23
1715
2
thg 7 25
4654
1
thg 1 25
1997
2
thg 12 24
7787
2
thg 11 24
28563