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

Auth state design #3

Closed
negati-ve opened this issue Apr 24, 2020 · 1 comment
Closed

Auth state design #3

negati-ve opened this issue Apr 24, 2020 · 1 comment

Comments

@negati-ve
Copy link

The way rfx auth store is designed,
say if i make an api call somewhere in the app, and it fails with a 401 unauthorized,
how does the auth state change? or its all up to the dev to take care of such a situation?

@foxhound87
Copy link
Owner

It's all up to you when you catch the request.
You can dispatch an action when you catch for example.

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

2 participants