Email link authentication previously relied on Firebase Dynamic Links , which will be shut down on August 25, 2025 . We've published an alternative solution in the Firebase Authentication iOS SDK version 11.8.0+. If your app uses Firebase Dynamic Links , you should migrate your app to the new Firebase Hosting based system.
আপনার সংশ্লিষ্ট Firebase Dynamic Links ডোমেইনটি একটি Firebase Hosting ডোমেইনে স্থানান্তর করুন।
এখন থেকে, Firebase Dynamic Links ডোমেইন ব্যবহার করার পরিবর্তে, Firebase Authentication মোবাইল অ্যাপে ইমেল লিঙ্ক এবং অন্যান্য আউট-অফ-ব্যান্ড লিঙ্ক অ্যাকশনের জন্য লিঙ্ক তৈরি করতে আপনার প্রোজেক্টের Firebase Hosting ডিফল্ট ডোমেইন ব্যবহার করবে। এর মানে হলো, আপনার মোবাইল অ্যাপের ইমেল অথেনটিকেশন লিঙ্কের জন্য সংশ্লিষ্ট ডোমেইন হিসেবে এই ডিফল্ট ডোমেইনটি ব্যবহার করতে আপনার অ্যাপটিকেও আপডেট করতে হবে।
আপনার অ্যাপটিকে নতুন স্বয়ংক্রিয়ভাবে সরবরাহকৃত Firebase Hosting ডিফল্ট ডোমেইন ব্যবহার করার জন্য আপডেট করতে, আপনি ‘অ্যাপল প্ল্যাটফর্মে ইমেল লিঙ্ক ব্যবহার করে ফায়ারবেসের সাথে প্রমাণীকরণ’ (Authenticate with Firebase Using Email Link on Apple Platforms) -এর নির্দেশাবলী অনুসরণ করতে পারেন।
Use the following instructions to handle links from the new domain and to instruct Firebase Authentication to start using the Firebase Hosting domain to generate mobile app links going forward.
If you'd like to continue using any of your custom Firebase Hosting domains or even your custom Firebase Dynamic Links domain to be your new associated domain, using the instructions in the Customize Mobile Links section, adapt the steps to match the intended domain you'd like to use.
আপনার অ্যাপের সংশ্লিষ্ট ডোমেইনের সাথে Firebase Hosting ডোমেইনটি লিঙ্ক করুন।
You'll need to configure the selected domain as an Associated Domain for app links. To set up the entitlement in your app, open the target's Signing & Capabilities tab in Xcode and add Firebase Hosting domains from the previous step to the Associated Domains capability. If using the default Firebase Hosting domain, this will be
applinks: PROJECT_ID .firebaseapp.com.আরও তথ্যের জন্য অ্যাপলের ডকুমেন্টেশন সাইটে ‘Supporting associated domains’ দেখুন।
An associated domain file has been deployed under all your Firebase Hosting domains. To access it, navigate to
PROJECT_ID .firebaseapp.com/.well-known/apple-app-site-association. This AASA file can be overwritten; see Create and host your Universal Links configuration files for more information.নতুন লিঙ্কগুলো ব্যবহার করার জন্য আপনার প্রজেক্টটি কনফিগার করুন।
When you're ready to handle the new domain links, you can use the Firebase Admin SDK to update how you want email links to be generated and instruct our backend to start generating links using the new Firebase Hosting domain.
import { getAuth } from 'firebase-admin/auth'; const updateEmailAuthDomain = async () => { const updateRequest = { mobileLinksConfig: { domain: 'HOSTING_DOMAIN', }, }; const projectConfigManager = getAuth().projectConfigManager(); try { const response = await projectConfigManager.updateProjectConfig(updateRequest); // Updated project config console.log('Project configuration updated successfully:', response); } catch (error) { console.error('Error updating the project:', error); } };ইমেইল লিঙ্কটি পাঠান এবং রিডিম করুন।
আগের মতোই ইমেল সাইন-ইন লিঙ্কটি পাঠান। যখন কোনো ব্যবহারকারী লিঙ্কটিতে ক্লিক করবেন, তখন সাইন-ইন প্রক্রিয়াটি সম্পন্ন করার জন্য (যদি অ্যাপটি ইনস্টল করা থাকে) তাকে অ্যাপটিতে রিডাইরেক্ট করা হবে।
আপনার মোবাইল লিঙ্কগুলি কাস্টমাইজ করুন
আপনি একটি কাস্টম Firebase Hosting ডোমেইন ব্যবহার করতে পারেন অথবা আপনার কাস্টম Firebase Dynamic Links ডোমেইনটিকে আপনার নতুন মোবাইল লিঙ্কস ডোমেইন হিসেবে পুনরায় ব্যবহার করতে পারেন।
একটি কাস্টম Firebase Hosting ডোমেইন ব্যবহার করুন
- কাস্টম ডোমেইন সেট আপ করতে Firebase Hosting গাইড অনুসরণ করুন।
- কাস্টম ডোমেইনটিকে আপনার অ্যাপের সংশ্লিষ্ট ডোমেইনের সাথে লিঙ্ক করুন।
- ব্যবহারকারীর ইমেল ঠিকানায় একটি প্রমাণীকরণ লিঙ্ক পাঠান, যার সাথে একটি আপডেট করা
ActionCodeSettingsঅবজেক্ট থাকবে এবংlinkDomainহিসেবে একটি কাস্টম ডোমেইন থাকবে।
আপনার কাস্টম Firebase Dynamic Links ডোমেইন পুনরায় ব্যবহার করুন
- You can re-use any of your Firebase Dynamic Links domains as your custom domain. However, any Firebase Dynamic Links functionality will no longer be supported (for example, users cannot be redirected to the app store if app isn't installed on their device).
- ব্যবহারকারীর ইমেল ঠিকানায় একটি প্রমাণীকরণ লিঙ্ক পাঠান, যার সাথে একটি আপডেট করা
ActionCodeSettingsঅবজেক্ট থাকবে এবংlinkDomainহিসেবে একটি কাস্টম ডোমেইন থাকবে।