Laravel PHP OAuth

Limiting OAuth Providers in Laravel

Working on the devlog-ist/landing project, we're refining the authentication flow. The goal is to streamline user registration and login, particularly for non-developers who might be contributing recommendations. We've adjusted the available OAuth providers to match user roles.

Previously, both GitHub and LinkedIn were presented as default options on the login and registration pages. Now, GitHub is the primary option. LinkedIn is presented contextually, specifically when a user arrives via a recommendation link. This allows non-technical users to easily submit recommendations using their LinkedIn accounts.

This change simplifies the initial user experience by reducing the number of choices presented. By tailoring the OAuth providers to specific user flows, we're aiming for a smoother, more intuitive process. Learn more about the updated authentication flow in the full article.

Gerardo Ruiz

Gerardo Ruiz

Author

Share: