Linkedin Login in Flutter

Updated 27 April 2023


In this blog, we are going to learn about “Linkedin Login” in a flutter.

OAuth 2.0 is used by LinkedIn, the largest and most reliable source of professional identities, for API authentication and user permission. An access token is made available after successful login and can be used to retrieve member profiles and emails.

I’ll show you how to set up LinkedIn sign-in on your Flutter and retrieve pertinent data using the LinkedIn API in this tutorial.

sign in using Linkedin

Check out more about our Flutter app development.


The Dependency Section mention, these libraries to use the most recent version of the package

The below command runs in the terminal of the Android studio after adding the dependency.

Required Params

Get clientId and clientSecret when creating an app on for the authentication procedure.


After the completed process we are adding the Call LinkedIn authorization and get the user object.

Alternatively, you can just retrieve the permission code (clientSecret is not necessary for this widget)

In the case of the logout user(to the clear session from web view) then we are sending the ‘true’ value for destroySession in LinkedInUserWidget or LinkedInAuthCodeWidget and also destroy the data from a local database.

Linkedin user widget

You can create a LinkedIn user widget and use these properties to display that user information.

In this preview, you are seeing LinkedIn login and logout buttons. these widgets are default widgets provided by the LinkedIn library.


We learned how to use the LinkedIn sign-in our app and get user information for use in an application.

Visit the link for additional information on the Linkedin login in the Flutter application

Thanks for reading this blog. You can also check other blogs from here for more knowledge.

Always be ready for learning 🙂

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home