

Setup your application's code
// composer.json
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
// ...
"guzzlehttp/psr7": "^1.4",
"php-http/curl-client": "^1.7",
"php-http/httplug-bundle": "^1.7",
"hwi/oauth-bundle": ">=0.6",
},
Add the following lines to your base code
<script src="https://cdn.auth0.com/js/lock/11.3.0/lock.min.js"></script>
<script>
var lock = new Auth0Lock('YOUR_CLIENT_ID', 'YOUR_AUTH0_DOMAIN');
function signin() {
lock.show({
callbackURL: 'http://localhost:CHANGE-TO-YOUR-PORT/callback'
, responseType: 'code'
, authParams: {
scope: 'openid name email' //Details: https:///scopes
}
});
}
</script>
<button onclick="signin()">Login</button>
Create an Application in Auth0 dashboard

Create a Social Instagram Connection under Connections / Social section

GET STARTED IN MINUTES
Authentication Built for Security & High Availability
Auth0 is the easiest way for developers to integrate enterprise-grade authentication and identity management to any app.
Industry Standard Compliance
SOC 2, HIPAA/BAA, EU/US Privacy Shield Framework, Open ID Certified.
Learn MoreBuilt by Security Experts
Continuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.
Learn MoreWhat Our Customers Say

Continuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.
Learn MoreGet Auth0 free for 7,000 active users per month with unlimited logins
- Single Sign On
- Passwordless Login
- Up to 2 Social Identity Providers
- Multifactor Authentication
- User Management
- Extensibility (Run custom code on Auth)