ঘর্ষণহীন সাইন-ইন

যেহেতু সাইন-ইন অভিজ্ঞতাটিই আপনার অ্যাড-অনের সাথে একজন ব্যবহারকারীর প্রথম সংযোগ, তাই এটি গুরুত্বপূর্ণ যে তারা যেন প্রক্রিয়াটি যতটা সম্ভব নির্বিঘ্নে সম্পন্ন করতে পারে। বিভিন্ন সাইন-ইন এপিআই, সাইন-ইন সম্পর্কিত কোয়েরি প্যারামিটার, পপ-আপ ব্লকার কীভাবে পরিচালনা করতে হয় এবং ডেভেলপমেন্টের সময় আপনি সেরা অনুশীলনগুলো অনুসরণ করছেন কিনা তা নিশ্চিত করার জন্য ব্যবহারযোগ্য একটি টেস্ট প্ল্যান সম্পর্কে পরিচিত হতে নিচের বিভাগগুলো পড়ুন।

SSO বাস্তবায়নের বিবরণ

Google's OAuth 2.0 is compatible with many OAuth 2.0 stacks. We strongly recommend implementing server-side authorization as it's the highest security option and supports using the iframe query parameters .

Refer to the technical guidance provided in the Google Identity website when implementing Google sign-in. Be sure to follow the Google sign-in branding guidelines . Sketch, SVG, and EPS files are provided for download.

সাইন-ইন পরীক্ষা

পর্যালোচনার জন্য আপনার অ্যাড-অন জমা দেওয়ার আগে, সেটি প্রয়োজনীয় মান পূরণ করছে এবং পরিচিত এজ কেসগুলো (edge ​​cases) সামলাতে সক্ষম কিনা তা যাচাই করতে অ্যাড-অন টেস্ট প্ল্যানটি ব্যবহার করুন। এই পরীক্ষাগুলো ক্লাসরুম অ্যাড-অন রিকোয়ারমেন্টস চেকলিস্টের সাথে হুবহু মিলে যায় এবং আপনার অ্যাড-অন সেই প্রয়োজনীয়তাগুলো পূরণ করে কিনা তা কীভাবে পরীক্ষা করবেন, সে বিষয়ে আপনাকে ধাপে ধাপে নির্দেশনা দেয়। প্রকাশনার সময় আপনার অ্যাপ্লিকেশনটি এই একই পরীক্ষাগুলোর ভিত্তিতেই যাচাই করা হয়।

সাইন-ইন কোয়েরি প্যারামিটার

Google Classroom provides the login_hint query parameter to help facilitate repeated sign-in. See the sign-in related parameters section of the iframe query parameters page for additional information. Sample code can be found in the handle repeat visits walkthrough of our developer walkthroughs.

পপ-আপ ব্লকার পরিচালনা করুন

Signing in to the add-on is facilitated by the sign-in dialog window. This window displays the account selector screen and allows the user to grant OAuth permissions. An end user's pop-up blocker could prevent them from completing the sign-in flow.

অ্যাকাউন্ট নির্বাচক স্ক্রিনের একটি উদাহরণ

চিত্র ১. একটি অ্যাকাউন্ট নির্বাচক স্ক্রিনের উদাহরণ।

To resolve this problem, provide the end user with a button to click to bypass the pop-up blocker. This interaction allows the sign-in dialog to be displayed so the end user can continue with the sign-in flow. Ensure that the button you provide follows the sign-in branding guidelines .

একটি গুগল ব্র্যান্ডেড সাইন-ইন বাটন তৈরি করতে আমাদের ডেভেলপার ওয়াকথ্রু-তে দেওয়া সাইন-ইন প্রক্রিয়াটি অনুসরণ করুন, যেটিতে ক্লিক করলে সাইন-ইন ডায়ালগটি চালু হবে।

একাধিক লগইন

একই সময়ে একাধিক অ্যাকাউন্ট সাইন-ইন করা থাকলে ব্রাউজারে অ্যাড-অন ব্যবহারের স্বাভাবিক প্রক্রিয়া ব্যাহত হতে পারে। ব্যবহারকারীরা হয় তাদের বর্তমান ব্রাউজার থেকে সমস্ত গুগল অ্যাকাউন্ট থেকে সাইন আউট করতে পারেন , অথবা সঠিক অ্যাকাউন্ট দিয়ে সাইন-ইন করার আগে এবং প্রক্রিয়াটি পুনরায় চেষ্টা করার আগে একটি ইনকগনিটো ক্রোম উইন্ডোতে ক্লাসরুম খুলতে পারেন।

একাধিক লগইনের সমস্যার কারণে যদি কোনো ভুল ব্যবহারকারী অ্যাড-অনটিতে সাইন-ইন করে থাকেন, তাহলে আপনার Classroom অ্যাড-অন API-এর কলগুলো একটি InvalidAddOnToken ত্রুটির কারণে ব্যর্থ হতে পারে। আপনি যদি এই ধরনের কোনো ত্রুটি পান, তাহলে ব্যবহারকারীকে ব্রাউজারে থাকা অন্য সব অ্যাকাউন্ট থেকে সাইন আউট করতে অথবা এর পরিবর্তে একটি ইনকগনিটো ক্রোম উইন্ডোতে Classroom খুলতে নির্দেশ দিন।