Pliro Connect
Allow customers to sign into your website and manage their access to protected content.
Last updated
Allow customers to sign into your website and manage their access to protected content.
Last updated
Pliro Connect provides an authentication solution that makes it possible to sign customers into your website, e-magazine, app or other service and grant them access to protected content. The solution is based on and .
Here's an overview of how it works:
When a customer clicks the sign in button on your website, you redirect them to Pliro's sign in-flow.
After completing the flow, they are redirected back to your website with a code you can use to request an ID token and an access token. The ID token contains information about the signed in customer in the form of a . The access token can be used to retrieve updated information about the customer.
You sign the customer into your website and store the tokens in their session.
When a customer clicks the sign out button on your website, you end their session. If you'd like, you can then redirect them to Pliro to end their Pliro session as well.
When a customer clicks the sign out button on their account page in Pliro, you can optionally receive a notification over HTTP, and end their session on your website.
We also provide that demonstrates all of these flows.
To get started you'll need to create an OAuth application in Pliro. This can be done from the Pliro dashboard by navigating to "Settings > OAuth applications > New application". We recommend using while building out your integration. If you are working on your local machine you can set your application's Redirect URI to http://localhost:3000/callback
or something similar.
After creating an OAuth application, the application's client ID and client secret will be shown. You'll need these credentials to authenticate your requests to Pliro.
Pliro currently only supports OAuth applications that can securely store a client secret, i.e., server-side web apps. In the future, we hope to extend support to client-side web apps (SPAs) as well as mobile and native apps.
Sign in customers
Sign customers into your website and grant them access to protected content.
Update customer information
Respond to customer actions within Pliro.
Silently re-authenticate customers
Check if a customer is still signed into Pliro.
Sign customers out of Pliro
Notify Pliro when signing customers out of your website.
Sign-out notifications
Be notified when customers sign out of Pliro.