Comments (5)
I would be open to this. Feel free to make a PR. If you can't do that, could you please provide an example of how you think this might look? For example - are you looking for an optional argument that can be passed to the authorizeUrl
method? Maybe an array of custom parameters?
from js-pkce.
Could you please also provide a link to the documentation and any specifications for these authorization adapters? It might be worth while to have a different package for adapters if this is something others will need to use with different services.
from js-pkce.
Here is what other clients are doing in this regard - just letting user configure whatever they want.
For PingFederate sometimes you need to add the following query param to the authorize endpoint call.
&pfidpadapterid=OAuthAdapterCCDS
This is just an example of course, and there are different adapters that can be used.
from js-pkce.
You can see it in the docs here - https://docs.pingidentity.com/bundle/pingfederate-93/page/nfr1564003024683.html.
from js-pkce.
Thanks. I probably won't get to this over the holiday, but I will work on it soon.
from js-pkce.
Related Issues (17)
- Firefox sessionStorage Issues HOT 10
- `dist/PKCE.d.ts` is missing HOT 2
- PKCE.exchangeForAccessToken function return type is infered as Promise<any> HOT 8
- If I set state in using additionalParams object in authorizeUrl method then after checking response with exchangeForAccessToken I get error 'Invalid State' HOT 5
- token revoke HOT 1
- could you please export ITokenResponse interface from PKCE.d.ts ? HOT 3
- getting JSON parse error while running npm audit HOT 1
- not getting email data from requested scopes HOT 1
- Uncaught (in promise) Error: Cannot resolve "crypto" from ... HOT 3
- How can I get CSRF before exchangeForAccessToken? HOT 1
- id token HOT 4
- Not usable from browser extensions due to usage of Storage API HOT 2
- Add configuration to allow sending credentials HOT 5
- Unique code_challenge per request HOT 3
- PKCE.exchangeForAccessToken and error response HOT 2
- Request for an example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-pkce.