Login dari halaman utama tidak berfungsi untuk pengguna baru atau pengguna lama, juga pengguna yang sudah ada dengan pengguna / sandi tidak dapat menautkan akun Google mereka - semua mendapatkan kesalahan yang sama.
Ya, saya yakin ini bug dan tidak ada permintaan fitur atau pertanyaan umum.
Masalah yang sama di sini btw. URL panggilan balik benar dan akun google di bawah email yang sama ada dan memiliki proyek yang sebenarnya di mana zammad mendapatkan kunci klien + rahasia .. saya mencoba menemukan beberapa log google untuk IAM / Auth tetapi tidak berhasil.
Apakah ada cara untuk menemukan log untuk permintaan auth oauth ke proyek Anda?
Terima kasih telah memposting.
Saya dapat memverifikasi ini dengan proyek yang belum pernah mengaktifkan otentikasi - tetapi:
Ini bukan Bug.
Penyebab Masalah ini dapat ditemukan dalam log / web-1.log:
I, [2018-11-16T10:39:42.637447 #23972] INFO -- omniauth: (google_oauth2) Request phase initiated.
I, [2018-11-16T10:39:42.970970 #23972] INFO -- omniauth: (google_oauth2) Callback phase initiated.
E, [2018-11-16T10:39:43.325612 #23972] ERROR -- omniauth: (google_oauth2) Authentication failure! invalid_credentials: OAuth2::Error, {"errors"=>[{"domain"=>"usageLimits", "reason"=>"accessNotConfigured", "message"=>"Access Not Configured. Google+ API has not been used in project [PROJECTID_GOOGLE] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[PROJECTID_GOOGLE] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.", "extendedHelp"=>"https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[PROJECTID_GOOGLE]"}], "code"=>403, "message"=>"Access Not Configured. Google+ API has not been used in project [PROJECTID_GOOGLE] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[PROJECTID_GOOGLE] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."}:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. Google+ API has not been used in project [PROJECTID_GOOGLE] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[PROJECTID_GOOGLE] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"extendedHelp": "https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[PROJECTID_GOOGLE]"
}
],
"code": 403,
"message": "Access Not Configured. Google+ API has not been used in project [PROJECTID_GOOGLE] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[PROJECTID_GOOGLE] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
}
Anda sebenarnya harus mengaktifkan API Google+ sebelum dapat mengautentikasi pengguna melalui Google.
Saya akan mengerjakan pembaruan dokumentasi, karena bagian dari dokumen kami ini ditulis dengan buruk. Maaf atas ketidaknyamanan yang mungkin Anda temui.
Kunjungi tautan berikut (Anda perlu menyesuaikannya dengan API-Project-ID Anda) untuk mengaktifkan Google+ API:
https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[Your-API-Project-ID]
Saya akan menutup masalah ini - Anda dapat menemukan masalah dokumentasi di sini: https://github.com/zammad/zammad-admin-documentation/issues/10
Terima kasih, saya dapat mengonfirmasi bahwa setelah mengaktifkan Google+ API - sekarang berfungsi seperti yang diharapkan.
Komentar yang paling membantu
Terima kasih, saya dapat mengonfirmasi bahwa setelah mengaktifkan Google+ API - sekarang berfungsi seperti yang diharapkan.