Giter Club home page Giter Club logo

Comments (6)

brockallen avatar brockallen commented on May 19, 2024 1

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.

pamapa avatar pamapa commented on May 19, 2024

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.

pamapa avatar pamapa commented on May 19, 2024

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.

kherock avatar kherock commented on May 19, 2024

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.

pamapa avatar pamapa commented on May 19, 2024

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.

kherock avatar kherock commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.