question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Restore a subset of the args removed from the sign in methods

See original GitHub issue

With oidc-client 1.x, I used a few parameters in the signinRedirect, signinPopup, and signinSilent methods which were removed in #20:

  • extraQueryParams - I need to set this dynamically to tweak the auth server’s login page. For example, Keycloak has kc_idp_hint that allows me to create multiple buttons for launching different identity provider login flows. I also might need to be able to suggest a username that’s only obtained after the UserManager is created
  • popupWindowFeatures
    • I want to be able to center the popup window in front of the open window rather than the hardcoded offset that’s set when constructing the UserManager. These offsets can only be accurately determined the moment the popup is opened.
    • I need to be able to customize the size of the window based on various login pages that can show based on the parameter I mentioned above

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
brockallencommented, Sep 27, 2021

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.

0reactions
kherockcommented, Sep 27, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Restore a subset of the args removed from the sign in methods
With oidc-client 1.x, I used a few parameters in the signinRedirect , signinPopup , and signinSilent methods which were removed in #20:.
Read more >
TensorFlow 08: save and restore a subset of variables - IreneLi
Here we use tf.get_variable() , a better way to state a variable, and you must define a shape here. This function can “get...
Read more >
Restore subset of variables in Tensorflow - Stack Overflow
To restore a subset of variables, you must create a new tf.train.Saver and pass it a specific list of variables to restore in...
Read more >
Restore objects - Amazon Simple Storage Service
The Restore operation initiates restore requests for archived objects on a list of Amazon S3 objects that you specify. The following objects must...
Read more >
Fragment | Android Developers
It includes basic activity lifecycle methods such as onResume() , but also ... the fragment is removed, hidden, or detached when not popping...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found