Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Examples #151

Open
nvwebd opened this issue Jun 5, 2019 · 7 comments
Open

Updating Examples #151

nvwebd opened this issue Jun 5, 2019 · 7 comments

Comments

@nvwebd
Copy link

nvwebd commented Jun 5, 2019

Hi.

I wanted to open this Issue so I get some info before I start updating the examples - for guidelines and additional info.

What I wanted to do is create a new example app showing implementation without redux-router and also a better hook integration.

Let me know if you would consider this a + to PR or not.

Best from Vienna.

Nejc

@eloekset
Copy link

I'm very interested in a working sample app for React IODC with or without redux. Have you got something up an running, @nvwebd?

@nvwebd
Copy link
Author

nvwebd commented Jul 5, 2019

@eloekset yeah I have something up and running - with Redux - for without I still have to do something, but I didn't manage to find the time.

@maxmantz
Copy link
Owner

Hi!

If you have an updated example I would be happy to link it to the docs.

@davidkhierl
Copy link

I would love to see some example for the SignoutCallbackComponent also

@henriquels25
Copy link

I created a new example project using the library:
https://github.com/henriquels25/redux-oidc-sample

@maxmantz, do you think we can link it to the docs?

If someone has suggestions, I can work on improving the example application.

@aleksandervalle
Copy link

aleksandervalle commented Feb 4, 2020

Thanks for the new example @henriquels25.

I expected onRedirectSuccess in CallbackComponent to populate redux store with user, but it doesn't. Am I supposed to dispatch USER_FOUND myself in the successCallback? I see neither the existing example nor @henriquels25 new example do this, or am I missing something?

@aleksandervalle
Copy link

Never mind! It's done by the OidcProvider upon user load event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants