Register an OAuth 2.0 client
The following content applies to all SDKs. |
The OAuth 2.0 client profile defines how an application connects to AM to obtain OAuth 2.0 tokens.
The OAuth 2.0 provider settings define the options available to a client profile:
-
Log in to your Identity Cloud tenant.
-
In the left panel, click Applications.
-
Click Add Application.
-
Select Native/SPA, and then click Next.
-
In Client ID, enter
ForgeRockSDKClient
. -
Click Create Application.
-
In Sign-In URLs, enter
https://sdkapp.example.com:8443/callback
. -
For Android and iOS applications, make sure Grant Types contains
Authorization Code
andRefresh Token
. -
In Scopes, enter:
openid
,profile
,email
,address
, andphone
. -
In Advanced > Authentication > Token Endpoint Authentication Method, select
none
. -
Click Save.