title: Securing Electron app with Keycloak
body: <p>I'm new to Keycloak and having a hard time authenticating a desktop app written on Electron. I looked at the documentation that discusses the <a href="https://www.keycloak.org/docs/3.0/securing_apps/topics/oidc/oidc-generic.html" rel="nofollow noreferrer">OpenID Connect endpoint</a> and then found a blog that walks through <a href="http://xpam.pl/blog/?p=154" rel="nofollow noreferrer">Keycloak and Postman</a> and I was able to get tokens from Keycloak via this method.</p>
  <p>I'm pretty sure this is incorrect for a few reasons.</p>
  <p>How can I authenticate my Electron app without running a client side web server to handle the redirects? There is an <a href="https://github.com/keycloak/keycloak-nodejs-connect/tree/master/example" rel="nofollow noreferrer">example for authenticating a web app</a>, but does anyone have a simple example of how to authenticate an Electron app against Keycloak?</p>