In our application we are trying to create a custom authentication for the service which is exposed from pega (configured in the service package)
could you please let me know, if we need to set any OOTB parameter or property in the custom authentication activity when the authentication logic is success to access the service?
I can see the custom authentication activity logic success by adding some logs, but in the postman we are getting unauthorized 401 as response ,Please let me know if I missed to configure something here .
Authentication Service Configuration- Ensure that you have configured the authentication service correctly in Pega. Double-check the class or activity name, authentication parameters, and any additional settings required for your custom authentication. Make sure the Service Package rule references the correct authentication service.
Access Group Configuration - Verify that the access group associated with the authenticated user has the necessary access privileges to invoke the service. Check the access roles and permissions assigned to the user’s access group to ensure they have the required access to the service or related rules
Custom authentication activity is created in Code-Security class and we have added some logs to check the activity is called and the logic is success, all that is logged properly.
Could you please help me to get the authentication parameters, and any additional settings required for the custom authentication which you are referring in the comment ?
@MarijeSchillern -Yes its resolved , when then custom logic is succesfull, we have used pzOAuthAuthenticationRequest OOTB activity and passed an operator id which is created only to Authenticate the external request.