Guilherme Delgado
07/15/2022, 10:02 AMSean Proctor
07/16/2022, 10:55 AMGuilherme Delgado
07/16/2022, 10:56 PMcall.respondRedirect("<desktopapp://accesstoken>=${oauth.accessToken}")
• Added this configuration to the desktop-app: deeplink configuration
• Finally, added the following code:
Desktop.getDesktop().browse(URI("<http://localhost:8080/login?redirectLocation=desktopapp>"))
Desktop.getDesktop().setOpenURIHandler { event ->
println("Open URI: " + event.uri)
}
and voi la, working as expected 😎