-
Notifications
You must be signed in to change notification settings - Fork 19
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
How you can use withAuth #3
Comments
Hi @MadalinNitu , welcome to my project. at <Route
key={path}
path={path}
render={props => {
updateDisplayLayout(currentLayout, layout);
return (
<Auth>
<Component {...props} />
</Auth>
);
}}
{...rest}
/> |
Hi .. thank you very much for your work here. I manage to use the hoc function for authorization for a new feature with the following procedures ...
and in a test feature class I export the following
and enforce the login only for a feature page not for all. Maybe you have to move the Auth.ts in another directory for been more accessible? thanks a lot 👍 |
Yeah, You are correct about using this feature! |
Thanks, I want to add a console feature like aws or gcp platform. In that way we can split de asmin users from clients users and let permissions for different features. |
How to use properly withAuth for authorize Home feature?
The text was updated successfully, but these errors were encountered: