Comments (6)
It would also be nice if we could eventually reuse the original oidc-client package name on npm π, but that's up to @brockallen's discretion.
Generally due to supply chain trust issues, this is discouraged.
from oidc-client-ts.
My idea was to move all that stuff which is coming into the settings. If that is not possible we can add stuff to the arguments again, but only typed :-) I am happy to accept changes here.
from oidc-client-ts.
extraQueryParams
, we can re-add args to signinRedirect
, signinPopup
, and signinSilent
:
with something like this as the type interface SigninArgs { extraQueryParams?: Record<string, any>; }
. And pass that a long the stack back into OidcClient.createSigninRequest.
popupWindowFeatures
: no idea what the best solution is, need to first see the code. This sounds something, that probably everybody wants? In that case it should be default. if not we need a setting for it?
from oidc-client-ts.
I just opened a PR adding the params that customize the PopupWindow, IFrameWindow, and RedirectNavigator behavior. I haven't decided the best function signature for adding back extraQueryParams
yet, trying to avoid overcomplicating the types of the arguments there, I might save it for a separate PR.
I'm also thinking it might be handy to expose popupWindowFeatures
as a typed object that we serialize as a string. It should be pretty easy from there to give it default values based on window dimensions.
from oidc-client-ts.
wow i just started to hack on adding back the args and luckily i saw your effort! Which looks great. So i stopped my attempt.
I am planning to make the two projects less depended on myself. Therefore i will move them into an free/opensource github "organization", such that they are together and might add additional non security TypeScript libraries later. Also i would like to empower you to review+merge stuff from other developers. The main idea is that nobody merges stuff from himself. The sole exception is releasing i guess. What do you think?
from oidc-client-ts.
I think a new org makes sense, though I don't see any rush. It would also be nice if we could eventually reuse the original oidc-client
package name on npm π, but that's up to @brockallen's discretion. I always find it a bit odd when NPM packages include js
or ts
in their names, though I don't think there are any good alternatives available at the moment.
Anyway, I'd be happy to more formally help with code review in the future. I already have a few projects that depend on this library that I'll be continuing to support for the foreseeable future.
from oidc-client-ts.
Related Issues (20)
- My client doesnβt know when I have logged out elsewhere HOT 3
- Refresh token reuse
- Add support to define JsonService timeout HOT 4
- Changing HTTP Method from GET to POST for connect/authorize and connect/endsession: Is It Possible? HOT 3
- when authorization server doesn't return refresh token
- Serialize a UserManager instance HOT 3
- Expired refresh and access token does not log out user HOT 2
- client_secret required with PKCE HOT 5
- getUser returns a null value HOT 2
- Invalid scopes HOT 1
- login_required error in web browser console when calling signinRedirectCallback HOT 2
- how to handle client-secret store on backend java spring boot HOT 3
- [feat] Could I add params to handle auto-close after iframe load successfully
- [bug] Dont send`scopes` in token endpoint HOT 1
- signinPopup not close after signed in on Firefox
- signinRedirect - Method Name HOT 1
- How to use this package in React-native HOT 1
- Does this package support ES256? HOT 2
- How to get additional AccessToken Response properties from SigninResponse to User object, or make user object extensible. HOT 2
- Getting "No matching state found in storage" error HOT 3
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 oidc-client-ts.