OAuth from plugin
Is there any existing way in the plugin SDK to use OAuth to authenticate? I found these existing threads on the topic:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206765875-Oauth-2-0-to-Google
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206755005-WebView-into-Intellij
but neither seemed to indicate an existing facility. Since those were asked several years ago, I figured I'd see whether there might be new information.
Obviously I can host my own form to capture username and password to send to the OAuth token endpoint, but ideally it would occur in a browser to enhance the trust relationship. I could use a Swing-based Web view, but I'm not sure how well it would render the authentication form.
Has anyone done this from a plugin? Any thoughts on how it can best be accomplished?
Thanks in advance for any thoughts!
请先登录再写评论。