JSwing and Okta - Doable?


#1

Hello everybody :sunny: ,

I have a quick question.

Is it possible to integrate Okta in a JSwing Desktop App?
If yes, what is the best way to start?

Do you have a Docu about JSwing? Should I look into the Android Code Sample? Or should I look into the JavaScript Code Sample?

thanks for any help :slight_smile:


#2

The lack of a good browser in a Swing environment is probably the biggest hurtle in this case (IMHO). Can you describe your use case a bit more? Is this a shared terminal or single user? How are you using the credentials once you have them? Are calling a resource server with an access token?


#3

Hello thanks for your reply :slight_smile:

sorry, for my late reply.

The credentials are being used to do some REST Calls to the Server for updating a local Sqlite Database.
I have been looking into the Okta Docu and maybe the best way to make this happen is to use REST, instead of trying to integrate Web Browser into JSwing

https://developer.okta.com/code/rest/

What do you think?