# Unable to configure oAUTH for SOAP service

**URL:** <https://forums.pega.com/t/unable-to-configure-oauth-for-soap-service/7097>\
**Category:** General\
**Tags:** 23-1-2, system-administration, data-integration\
**Created:** [May 26, 2024, 9:22am UTC](https://forums.pega.com/t/unable-to-configure-oauth-for-soap-service/7097 "2024-05-26T09:22:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SubhashK7107](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@SubhashK7107](https://forums.pega.com/u/SubhashK7107)\
**Post date:** [May 26, 2024, 9:22am UTC](https://forums.pega.com/t/unable-to-configure-oauth-for-soap-service/7097/1 "2024-05-26T09:22:33Z")

</div>

I have created a SOAP and REST service in a service package, which will create work objects for a case. after implementation, i tried without authentication and with basic authentication in service package. both these configurations were working fine. But when i tried to change the authentication type to oAUTH 2.0, i am getting error like “_Service package using OAuth 2.0 should not contain services other than REST services._”. So i tried creating a new SOAP service with new service package. In the service package configuration screen, i am getting _BASIC_ and _Custom_ options for selection but _oAUTH 2.0_ is not available.

 ![Change_Service_Package_To_oAUTH.png](https://pega1.discourse-cdn.com/pega/original/2X/d/dd68c5072fc5fffab7e4af2e8ba863231fce91d4.png)

 ![Create_SOAP_Service.png](https://pega1.discourse-cdn.com/pega/original/2X/1/1bae31f99dd305ff4ad87b01634fc68032ba020b.png)

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [June 4, 2024, 3:47pm UTC](https://forums.pega.com/t/unable-to-configure-oauth-for-soap-service/7097/2 "2024-06-04T15:47:01Z")

</div>

@SubhashK7107 OAuth 2.0 authentication is only available for REST services. If a service package contains services other than REST services, OAuth 2.0 cannot be used. For SOAP services, the available authentication types are Basic and Custom.

⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.

[Security Settings for Traditional DX API \> Authentication settings for Service Pa](https://docs.pega.com/bundle/dx-api/page/platform/dx-api/security-settings.html)

[Defining processing and authentication for service packages](https://docs.pega.com/bundle/platform/page/platform/data-integration/defining-processing-authentication-service-packages.html)

If you need further help please log a suport issue via the MSP and provide the INC id here.
