Week 5–6 of GSoC 2024: Progressing with the Supabase Authentication Module

Md Sahil
3 min readJul 8, 2024

--

Google Summer of Code (GSoC) x Drupal Association

Introduction

Hello again! This is Md Sahil, back with another update on my Google Summer of Code (GSoC) 2024 journey with Drupal. Over the past two weeks, I’ve made substantial progress on the Supabase Authentication module, overcoming several challenges and implementing new functionalities.

In this article, I’ll detail my progress, challenges, and achievements from weeks five and six, leading up to the mid-term evaluation.

Progress Overview

During weeks five and six, my focus was on refining the Supabase Authentication module by integrating it with the Drupal user registration process, implementing GitHub Actions, enhancing the module’s documentation, and successfully merging updates into the main codebase.

Key Achievements

Replication and Integration:

  • Firebase Authentication Module: Successfully replicated the Firebase authentication module, allowing users to authenticate via the Drupal user form.
  • Drupal Registration Form Integration: Integrated the module with the Drupal registration form, enabling users to register using their email, username, and password.

Developing Core Functionalities:

  • Email Confirmation Activation: Implemented functionality to set users as active upon confirming their email through a provided link.
  • GitHub Actions: Configured GitHub Actions to automatically check for PHP CodeSniffer (PHPCS) linter issues tailored for Drupal 10.
  • Documentation Updates: Revised and updated the README file to reflect recent changes and provide instructions related to the module.

Pull Requests and Code Review:

  • Created a pull request for the updated code, which was reviewed by my mentor Ayush.
  • Successfully merged the updated code into the main repository after the review. Ayush appreciated my efforts and contributions to the project. You can view the pull request here.
: )

Challenges and Solutions

GitHub Actions:

  • Encountered errors during GitHub Actions setup but resolved them with persistent debugging and community assistance.

Email Verification:

  • Managed to address the issue of multiple verification links by proposing a unified verification route in the module.

Password Credential Storage:

  • Faced challenges in storing and retrieving password credentials correctly in Supabase, requiring further debugging and code refinement.

Conclusion

Weeks five and six of GSoC 2024 have been highly productive, marked by significant progress in the Supabase Authentication module’s development. Despite encountering challenges, I’ve successfully integrated key functionalities and improved the module’s overall structure. As the mid-term evaluation begins on July 8th, I look forward to receiving feedback and continuing to enhance the module further.

Stay tuned for more updates, and feel free to check out my GitHub repository for the Supabase Authentication module here. Thank you for following along!

GitHub Repository: Supabase Authentication Module

Feel free to share your thoughts or questions in the comments below. See you in the next update!

--

--