Identity Cloud

Authenticate using REST

AM 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 AM

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

Use the session token

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

Log out of AM

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 AM.

Copyright © 2010-2023 ForgeRock, all rights reserved.