react-oauth-flow icon indicating copy to clipboard operation
react-oauth-flow copied to clipboard

Request Accesstoken using code.

Open priyank6796 opened this issue 6 years ago • 1 comments

  • I am facing issue related to requesting accesstoken using code. I am using custom Oauth2 server in which accesstoken and refreshtoken can generate using post request. In this request parameters need to be send in request body. In this module paramter is sent as query parameter with URL. I can't able to generate accesstoken using auth code.

react-oauth

  • As you can see in image, This package is requesting accesstoken api with query string.

priyank6796 avatar Nov 15 '18 12:11 priyank6796

Hi, sorry for the long silence. As I have mentioned to others as the popularity of this module grew I have come to understand that each OAuth implementation doesn't work the same way.

And I'm yet too figure out the best way to make this work with sensible defaults together with the ability to extend it.

I will take another look during the coming weeks and hopefully something more extendable will come out.

As of now it's probably faster and will mean less code overhead if you run your own fork in your project tweaking the settings on your own.

And please reach out if you have any ideas on how to update the api of this library.

adambrgmn avatar Jan 07 '19 09:01 adambrgmn