Securing Electron Applications with OpenID Connect and OAuth 2.0

I’m struggling to find a method to pull app_metadata or user_metadata. How would you recommend doing that in your electron example? Thanks!