Configure endpoint paths
You can override the default paths for a number of endpoints by adding a serverConfig {paths}
structure.
Property | Description |
---|---|
authenticate |
Override the default path to AM’s |
authorize |
Override the default path to AM’s |
accessToken |
Override the default path to AM’s |
revoke |
Override the default path to AM’s |
userInfo |
Override the default path to AM’s |
sessions |
Override the default path to AM’s |
endSession |
Override the default path to AM’s |
Example:
forgerock.Config.set({
serverConfig: {
baseUrl: 'https://openam.example.com:8443/openam/',
paths: {
authenticate: 'iam/endpoints/authN',
authorize: 'iam/endpoints/authZ'
},
timeout: '30000',
},
realmPath: 'root',
tree: 'sdkAuthenticationTree'
});
Any endpoint paths that you do not override use the pre-configured defaults. |