Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Request Accesstoken using code. #35

Open
priyank6796 opened this issue Nov 15, 2018 · 1 comment
Open

Request Accesstoken using code. #35

priyank6796 opened this issue Nov 15, 2018 · 1 comment

Comments

@priyank6796
Copy link

  • 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.
@adambrgmn
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants