To install dependencies, run the following
composer require auth0/auth0-php:"~7.0"
Add the following lines to your base code
<script src="https://cdn.auth0.com/js/lock/11.14/lock.min.js"></script>
<script>
var lock = new Auth0Lock('YOUR_CLIENT_ID', 'YOUR_DOMAIN');
function signin() {
lock.show({
callbackURL: 'http://localhost:3000/callback'
, responseType: 'code'
, authParams: {
scope: 'openid name email' //Details: https:///scopes
}
});
}
</script>
<button onclick="signin()">Login</button>
Auth0 is the easiest way for developers to integrate enterprise-grade authentication and identity management to any app.
SOC 2, HIPAA/BAA, EU/US Privacy Shield Framework, Open ID Certified.
Learn MoreContinuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.
Learn MoreContinuously reviewed and tested by external security experts. Strong password encryption and hashing algorithms, at rest and in transit.
Learn MoreUptime time in 3 different regions.
Learn MoreDeploy On-Premises or on Cloud on your data center or Auth0’s one.
Learn MoreAuthenticate ASP.NET Web API (OWIN) with Active Directory / LDAP
Authenticate Angular with Active Directory / LDAP
Authenticate iOS Swift with Active Directory / LDAP
Authenticate Android - Facebook Login with Active Directory / LDAP
Authenticate Node (Express) API with Active Directory / LDAP