We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
marmelab
Learn more about funding links in repositories.
Report abuse
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
What you were expecting: Should run fine as long as I respect AuthProvider's typing
AuthProvider
What happened instead:
Cannot read properties of undefined (reading 'apply')
Steps to reproduce:
getIdentity
addRefreshAuthToAuthProvider
return provider[name.toString()](...args);
provider
name
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. Please provide a sample application showing the issue by forking the following CodeSandbox (https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple).
Sorry, something went wrong.
Nevermind, I see the problem.
Successfully merging a pull request may close this issue.
What you were expecting:
Should run fine as long as I respect
AuthProvider
's typingWhat happened instead:
Steps to reproduce:
AuthProvider
without agetIdentity
(according to the typing,getIdentity
is optional)addRefreshAuthToAuthProvider
fails atreturn provider[name.toString()](...args);
whenprovider
does not havegetIdentity
andname
isgetIdentity
.The text was updated successfully, but these errors were encountered: