uber5 / react-pkce Goto Github PK
View Code? Open in Web Editor NEWOAuth2 authentication for React, using the PKCE flow
OAuth2 authentication for React, using the PKCE flow
Dear Uber5,
I wanted to use this package for authentication in AWS. However I ran into two problems.
One is that the return uri was missing a slash in the setup at the AWS end, so I would like to be able to configure the return uri (like the client id, etc)
Next problem was that Aws actually does not support application/json as the content type and json as the payload (weird but something I cannot change). So I need support for "application/x-www-form-urlencoded".
I would be more than happy to post a PR, as I have the changes running locally. Are there any options for me to submit this?
Regards,
Remco Bosman
I'm trying to use this component to authenticate into GitLab.
In GitLab, I must define the redirect URI for the given application. I can define multiple URIs.
The Redirect URI is the URL where users are sent after they authorize with GitLab.
When using this component, the redirect URI is changed to the current route/url.
This forces me to add ever rout of the app in GitLab.
In other words, if I have route myapp.tld/A
and myapp.tld/B
and both need to access some API in GitLab, I need to define both URLs when creating the oAuth application in GitLab.
It would be perfectly fine to redirect the user to the app's home after getting the authorization from GitLab.
This makes little sense to me.
I'm sure I'm missing something obvious here.
Hey All, running into an issue with rails and doorkeeper because the redirect_uri is not included in the /token request.
My understanding of the o-auth spec is that it is required if included in the authorization request: https://tools.ietf.org/html/rfc6749#section-4.1.3.
i thought the whole point of pkce flow is to avoid exposing the client_secret in public apps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.