# Webservice connector Custom authentication store crdentials and retrieve them

**URL:** <https://developer.sailpoint.com/discuss/t/webservice-connector-custom-authentication-store-crdentials-and-retrieve-them/109104>\
**Category:** IIQ Discussion and Questions\
**Tags:** webservice-connector, identityiq, apis\
**Created:** [April 8, 2025, 1:54pm UTC](https://developer.sailpoint.com/discuss/t/webservice-connector-custom-authentication-store-crdentials-and-retrieve-them/109104 "2025-04-08T13:54:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradeepireddy\_123](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@pradeepireddy\_123](https://developer.sailpoint.com/discuss/u/pradeepireddy_123)\
**Post date:** [April 8, 2025, 1:54pm UTC](https://developer.sailpoint.com/discuss/t/webservice-connector-custom-authentication-store-crdentials-and-retrieve-them/109104/1 "2025-04-08T13:54:53Z")

</div>

**Hi All,**

I’m currently using a custom authentication method where we pass the username and password in the body to generate a token. At the moment, these values are hardcoded in the request body.

Is there a way to pass in the credentials without hardcoding them?

Below is the SOAP body I’m currently sending:

xml

CopyEdit

```auto
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
    <s:Header>
        <a:Action s:mustUnderstand="1">http://www.xyz.com/xyz/Api/1.0/ISecurity/Login</a:Action>
        <a:MessageID>urn:uuid:c787cb81-fa72-4393-a934-bb438e16ee00</a:MessageID>
        <a:ReplyTo>
            <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
        </a:ReplyTo>
        <a:To s:mustUnderstand="1">https://xyz/xyz/Security.svc</a:To>
    </s:Header>
    <s:Body>
        <Login xmlns="http://www.xyz.com/xyz/Api/1.0">
            <input xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <ApplicationID>1043</ApplicationID>
                <Password>122345436</Password>
                <Uri i:nil="true"/>
                <UserName>service_User</UserName>
            </input>
        </Login>
    </s:Body>
</s:Envelope>

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [June 7, 2025, 1:55pm UTC](https://developer.sailpoint.com/discuss/t/webservice-connector-custom-authentication-store-crdentials-and-retrieve-them/109104/2 "2025-06-07T13:55:13Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
