# How to skip the log in screen when getting a SAML Assertion from a SAML client?

**URL:** <https://forum.keycloak.org/t/how-to-skip-the-log-in-screen-when-getting-a-saml-assertion-from-a-saml-client/26408>\
**Category:** Getting advice\
**Created:** [June 7, 2024, 5:49pm UTC](https://forum.keycloak.org/t/how-to-skip-the-log-in-screen-when-getting-a-saml-assertion-from-a-saml-client/26408 "2024-06-07T17:49:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricE](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/erice/32/10616_2.png) [@EricE](https://forum.keycloak.org/u/EricE)\
**Post date:** [June 7, 2024, 5:49pm UTC](https://forum.keycloak.org/t/how-to-skip-the-log-in-screen-when-getting-a-saml-assertion-from-a-saml-client/26408/1 "2024-06-07T17:49:47Z")

</div>

I have configured Keycloak SSO, and can get a SAML assertion by logging in the URL: _[http://localhost:8080/realms/myrealm/protocol/saml/clients/test](http://localhost:8080/realms/myrealm/protocol/saml/clients/test)_

How do I get the SAML Assertion without opening the URL in a browser (basically skipping the log-in screen). Is there any API to send basic credentials/user OAuth token and get the SAML Assertion from the SAML protocol client? Or is there any way to configure a service account or similar to exchange its client credentials token for another client’s SAML assertion?
