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.

Allow customisation of the callback component

See original GitHub issue

Issue and Steps to Reproduce

Thank you for this fix https://github.com/AxaGuilDEv/react-oidc/pull/180 against this issue https://github.com/AxaGuilDEv/react-oidc/issues/158.

This no longer routes towards an authenticated route, but I do get a flash of text that appears to be the callback component.

I could not see a way to customise this component, so it would be great to be able to do this.

Versions

v1.3.2-alpha.0

Screenshots

image

Expected

I’d expect to be able to override the React callback component via a prop, and see this render (or return null and render no text) instead.

Actual

See above screenshot for current actual behaviour.

Additional Details

  • Installed packages:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
youf-oliviercommented, Oct 3, 2019
1reaction
Madebymauricecommented, Sep 12, 2019

Yes, I already use the props notAuthenticated and notAthorized, so i’ll try to do the same for the callback component

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create Callbacks for Custom UI Components in App Designer
When you develop a custom UI component in App Designer, you can use callbacks to provide options for customizing the component behavior in...
Read more >
A callback on a custom component · Issue #3977 - GitHub
Solution. To introduce a mechanism to allow component developers to register and trigger a callback from a custom component.
Read more >
Provide callback for custom component - Stack Overflow
I made a custom component which basically wraps a d3 line chart. Now I want to be able to register a callback for...
Read more >
Using custom elements - Web Components | MDN
You can define several different callbacks inside a custom element's class definition, which fire at different points in the element's lifecycle ...
Read more >
Introducing callback support in style overrides - MUI
3.0 introduces the ability to write a callback in style overrides (global theming), giving you full control of component customization at the ...
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