The Identity API for Developers

Create Free Account Learn More

  • smart-trac
  • playboy
  • hp
  • csc-logo-white
  • BOSCH
  • playboy

Get Started In Minutes

Stormpath gives you a complete user management service in 15 minutes. Try A Quickstart

1
2
3
4
5
6
7
8
9
/* Authentication */
app.authenticateAccount({
username:[email protected]', password:'Changeme1'
}, onLogin);

/* Start the reset password workflow. 
This will send a secure link to the user to reset their password. */
app.sendPasswordResetEmail([email protected]',
onResetPasswordEmailSent);
1
2
3
4
5
6
7
/* Authentication */
result = app.authenticateAccount(new
UsernamePasswordRequest("[email protected]", "Changeme1"));

/* Start the reset password workflow. 
This will send a secure link to the user to reset their password. */
app.sendPasswordResetEmail("[email protected]");
1
2
3
4
5
6
# Authentication
app.authenticate_account([email protected]', 'Changeme1')

# Start the reset password workflow.
# This will send a secure link to the user to reset their password.
app.send_password_reset_email([email protected]')
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Authentication (value is base 64 encoded username and password)
curl -X POST --user $API_KEY_ID:$API_KEY_SECRET 
  -H "Accept: application/json" 
  -H "Content-Type: application/json" 
  -d "{
        "type": "basic",
        "value": "amxwaWNhcmQ6Q2hhbmdlbWUx"
      }" 
"https://api.stormpath.com/v1/applications/$APP_ID/loginAttempts"

#Start the reset password workflow. 
This will send a secure link to the user to reset their password.

curl -X POST --user $API_KEY_ID:$API_KEY_SECRET 
  -H "Accept: application/json" 
  -H "Content-Type: application/json" 
  -d "{
        "email": "[email protected]"
      }" 
https://api.stormpath.com/v1/applications/$APP_ID/passwordResetTokens
1
2
3
4
5
6
7
/* Authentication */
$result = $app->authenticateAccount(new
UsernamePasswordRequest("[email protected]", "Changeme1"));

/* Start the reset password workflow. 
This will send a secure link to the user to reset their password. */
$app->sendPasswordResetEmail("[email protected]");
1
2
3
4
5
6
// Authentication
var result = await app.AuthenticateAccountAsync
("[email protected]", "Changeme1");

// Start the reset password workflow.
await app.SendPasswordResetEmailAsync("[email protected]");

Enterprise Solutions

Stormpath enterprise support gives you a private implementation of our Identity platform
to dramatically reduce your application’s time to market, while increasing your user data security and system stability.
Let us help you simplify your customer Identity challenges.

Learn More

Helping Software Teams Like Yours

Max Kremer

“Offloading user security concerns to Stormpath allows us to breathe easy AND frees up resources to work on core product.”

Max Kremer CTO, Trialfire
Suraj Bhagavan

“We don’t want to do all the login and user security. Stormpath was the solution that allowed us to just focus on our app.”

Suraj Bhagavan Developer, Brand Integrity