Access Management 7.3.1

Authenticate over 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 provides you with a session token after authenticating 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 your users by sending a logout action to the /json/sessions endpoint.

Invalidate sessions

Obtain all the sessions for a given user and invalidate them to ensure they are logged out of AM.

Copyright © 2010-2024 ForgeRock, all rights reserved.