signin_with_linkedin 2.0.1
signin_with_linkedin: ^2.0.1 copied to clipboard
A Flutter package for seamless LinkedIn authentication, allowing users to sign in with LinkedIn and retrieve profile data securely.
2.0.1 #
- Added environment variables in
exampleapp.
2.0.0 #
NEW CHANGES:
- Removed deprecated
dart:htmland usedjs_interopfor the platform: web. - Update the
exampleapp. - Update the documentation (It includes instructions on implementing this package for the web platform and addressing CORS limitations.)
BREAKING CHANGES:
- The class
SignInWithLinkedInis no longer singleton and now requiresLinkedInConfigin the constructor. - The method
SignInWithLinkedIn.signInis removed and in place of it, 3 new methods have been added:getAuthorizationCode()- To get the auth code from the redirect URL by signing in to the LinkedIn account.getAccessToken()- To obtain access token details by passing theauth codegenerated by the above method.getUserInfo()- To get user details by passing theaccess tokengenerated by the above method.
- The method
logout()now requires theBuildContextin arguments. - The class
LinkedInErroris removed and 3 error classes have been added to handle specific errors:AuthCodeError- LinkedIn authorization error when redirect URL does not contain code.LinkedInAuthError- LinkedIn authentication error if an access token is not successfully obtained.LinkedInProfileError- LinkedIn profile error if user info is not successfully obtained.
1.1.0 #
- Set minimum Dart SDK to
3.7.0. - Upgrade Android platform to use
ktsscript.
1.0.1 #
- Fixed issue of
onGetUserProfilecalled twice
1.0.0 #
- Added Flutter web support
0.0.3 #
- Set access token data in
onGetUserProfilecallback
0.0.2 #
- Rename files
0.0.1 #
- Initial release