
User17056861530401245118 (Customer) asked a question.
Hi Team
We are already having SSO implementation using ADFS by Window logged in user (WSTrustChannel) for our legacy WPF application.
We started to migrate users from AD to Okta. So willing to follow the same flow with Okta auth integration to replace ADFS.
But cannot find any official libraries/sample for this approach (for WPF application). Got some C# samples that works with username/password approach. But in our case it will not help.
In this YouTube link https://www.youtube.com/watch?v=Fc0CsktcAgQ can see the DSSO implementation for Web application. But it may not work for us.
Actual requirement is, need to get Bearer token for the Windows logged in user once authenticated by Okta (without password & without login page) in the WPF application.
We need this Bearer token to do the further API calls. Do Okta support WSTrustChannel way to do the authorization?
So want to know is this possible? If possible, is there any C# library or samples available?
If not possible, what will be the recommended way in Okta for this case?
Thanks in Advance!


Hi @User17056861530401245118 (Customer) , Thank you for reaching out to the Okta Community!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
That being said, I did locate and older post there that seems to be related to your question:
https://devforum.okta.com/t/okta-bearer-token-in-wpf/13508
If you have additional question on the subject, I recommend engaging my devforum colleagues.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Ask the Experts: Now Thru 1/31 Okta FastPass Engineering and Product Teams Answer Your Questions