# Retrieve an OIDC token after signing in through SAML

**URL:** <https://community.auth0.com/t/retrieve-an-oidc-token-after-signing-in-through-saml/182452>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [February 19, 2025, 8:29pm UTC](https://community.auth0.com/t/retrieve-an-oidc-token-after-signing-in-through-saml/182452 "2025-02-19T20:29:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asier](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@asier](https://community.auth0.com/u/asier)\
**Post date:** [February 19, 2025, 8:29pm UTC](https://community.auth0.com/t/retrieve-an-oidc-token-after-signing-in-through-saml/182452/1 "2025-02-19T20:29:42Z")

</div>

We are using a Java based product and using OpenId Connect we are able to authenticate and retrieve an access token for the user. We want to use SAML to authenticate the users (it fits better in our case) but we would still need the OIDC token for integrations with third parties - would it be possible to retrieve the token programmatically once the user is signed in through SAML?

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fario_consulting/32/60590_2.png) [@Fario\_Consulting](https://community.auth0.com/u/Fario_Consulting)\
**Post date:** [February 20, 2025, 7:29pm UTC](https://community.auth0.com/t/retrieve-an-oidc-token-after-signing-in-through-saml/182452/3 "2025-02-20T19:29:12Z")

</div>

Hi,  
You can perform a silent authentication using one of Auth0’s SDKs to get an access token without forcing a redirect/callback.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 6, 2025, 7:30pm UTC](https://community.auth0.com/t/retrieve-an-oidc-token-after-signing-in-through-saml/182452/4 "2025-03-06T19:30:00Z")

</div>

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