Log in with PayPal
@LeonidS @Alex T⚜️ @Anton L @Andrey Yasko
Has anyone implemented Log in with PayPal?
-
- · rakeshkj
- ·
Log in with PayPal can be added by integrating PayPal’s OpenID Connect (OAuth2) identity service with the UNA account system.
Key steps
- Set up a PayPal Developer App with “Log in with PayPal” enabled.
- Add the PayPal login button to the UNA login/register interface.
- On click, redirect the user to PayPal’s authorization URL.
- After authentication, PayPal returns an authorization code to the site’s callback URL.
- Exchange the code for an access token and retrieve the user’s profile details (email, name, PayPal ID).
- Match the PayPal user to an existing UNA profile by email or PayPal ID.
- If found, log the user into their UNA account.
- If not found, create a new UNA profile and link the PayPal account.
-
- · Clubhouse
- ·
Great info thanks for the share