# Okta SSO with Desktop App

**URL:** <https://devforum.okta.com/t/okta-sso-with-desktop-app/21616>\
**Category:** Questions\
**Tags:** api, spring, oauth, java\
**Created:** [August 18, 2022, 9:57am UTC](https://devforum.okta.com/t/okta-sso-with-desktop-app/21616 "2022-08-18T09:57:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jvalekar](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@Jvalekar](https://devforum.okta.com/u/Jvalekar)\
**Post date:** [August 18, 2022, 9:57am UTC](https://devforum.okta.com/t/okta-sso-with-desktop-app/21616/1 "2022-08-18T09:57:14Z")

</div>

We have one use case where we need to perform okta integration with desktop enterprise standalone application and perform the SSO. I need guidance on the following points,

1. Which SDK needs to be used for Okta sso?  
2.We are planning to use authorization code with PKCE flow but we don’t have any web application, so is it possible to achieve it from the java backend and any reference for it?
2. How to use the access token for the single sign-on? How to share the session between desktop application and mobile application.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 9:51pm UTC](https://devforum.okta.com/t/okta-sso-with-desktop-app/21616/2 "2024-02-12T21:51:44Z")

</div>


