Identity Cloud

Authenticate using REST

Identity Cloud provides the /json/authenticate endpoint for authentication, and the /json/sessions endpoint for managing sessions and logging out.

The following table summarizes authentication operations you can perform using REST:

Task Resources

Authenticate to Identity Cloud

Authenticating to Identity Cloud means logging in to a specific realm and receiving a session token from Identity Cloud. Add parameters to the authentication request to provide Identity Cloud with more information about how you want to authenticate.

Use the session token

Identity Cloud returns a session token when you authenticate to a realm. Use this token in subsequent calls to Identity Cloud. For example, when using REST calls to create, modify, or delete configuration objects.

Log out of Identity Cloud

Log out users by sending a logout action to the /json/sessions endpoint.

Invalidate sessions

Invalidate specific sessions, or invalidate all sessions for a user to ensure they are logged out of Identity Cloud.

Copyright © 2010-2024 ForgeRock, all rights reserved.