pidah / st2-auth-backend-oauth2

Oauth2 authentication plugin for StackStorm Community edition
Apache License 2.0
9 stars 0 forks source link

Authorization Code type OAuth2 #1

Open patcon opened 7 years ago

patcon commented 7 years ago

Hi there! Thanks for sharing this!

Would you have any sense of how difficult it would be to modify this plugin to use the Authorization Code grant type? I ask as this is what would allow it to work with GitHub.com as an OAuth provider :) Any direction is appreciated

pidah commented 7 years ago

Hi @patcon, sorry I am just seeing this now and you most likely have worked out something for your own use. I had planned to implement the Authorization Code grant type, but after discussions with the stackstorm team, I concluded there was no clean way to implement the required browser redirect, and so settled for Resource Owner Password Credential Grant which was sufficient for our use-case. Perhaps things have changed now.