لا يعمل تسجيل الدخول من الصفحة الرئيسية للمستخدمين الجدد أو الحاليين ، كما أن المستخدمين الحاليين الذين لديهم مستخدم / تصريح لا يمكنهم ربط حساباتهم على google - كلهم يحصلون على نفس الخطأ.
نعم أنا متأكد من أن هذا خطأ وليس طلب ميزة أو سؤال عام.
نفس المشكلة هنا راجع للشغل. عنوان URL الخاص بمعاودة الاتصال صحيح وحساب google تحت نفس البريد الإلكتروني موجود ويمتلك المشروع في الواقع حيث حصل zammad على مفتاح العميل + السر .. حاولت العثور على بعض سجلات google لـ IAM / Auth ولكن لم تنجح.
هل هناك أي طريقة للعثور على سجلات لطلبات المصادقة على مشروعك؟
شكرا على نشرك.
يمكنني التحقق من ذلك بمشروع لم يتم تمكين المصادقة عليه مطلقًا - ولكن:
هذا ليس حشرة.
يمكن العثور على سبب هذه المشكلة في 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."
}
}
تحتاج بالفعل إلى تمكين واجهة برمجة تطبيقات Google+ قبل أن تتمكن من مصادقة المستخدمين عبر Google.
سأعمل على تحديث الوثائق ، لأن هذا الجزء من مستنداتنا مكتوب بشكل سيء. آسف للإزعاج ربما واجهتك.
قم بزيارة الرابط التالي (تحتاج إلى تعديله باستخدام معرف مشروع API الخاص بك) لتمكين واجهة برمجة تطبيقات Google+:
https://console.developers.google.com/apis/api/plus.googleapis.com/overview?project=[Your-API-Project-ID]
سأغلق هذه المشكلة - يمكنك العثور على مشكلة التوثيق هنا: https://github.com/zammad/zammad-admin-documentation/issues/10
شكرًا ، يمكنني أن أؤكد أنه بعد تمكين واجهة برمجة تطبيقات Google+ - تعمل الآن كما هو متوقع.
التعليق الأكثر فائدة
شكرًا ، يمكنني أن أؤكد أنه بعد تمكين واجهة برمجة تطبيقات Google+ - تعمل الآن كما هو متوقع.