Comments (6)
Oh, right - I was hoping roles would be an empty array. Not sure about app_metadata
- the netlify docs seem to be a bit shallow on this. I guess the safest way is to have option
for both.
from bs-react-netlify-identity.
Great, then we are good to go. Will publish a new version shortly 😄
from bs-react-netlify-identity.
I have added those bindings in appMetaData
to the user
object, could you try the branch app-metadata
and see whether it works for your setup?
from bs-react-netlify-identity.
Works great, thanks!
Just wondering - do app_metadata
and roles
have to be options
? I guess it's the safest way, since the TS definitions say any
?
from bs-react-netlify-identity.
Roles property must be optional, since it won’t exist on the metadata object if you don’t have any roles in netlify.
I am not sure whether the whole “app_metadata” has to be optional though, is there anything in the netlify docs indicating that it should never be undefined on the JS side?
from bs-react-netlify-identity.
Published in v1.0.4.
from bs-react-netlify-identity.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bs-react-netlify-identity.