Breaking Change: Auth Data Structure #177
Lissy93
announced in
Breaking Change
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version 1.6.5 introduced some additional options for authentication. To prevent the
appConfig
from becoming too cluttered, all authentication-related options will be moved intoappConfig.auth
. Previously this data attribute was an array of users, but now it is an object.The new data structure is already in effect (as of V 1.6.5). If you are still using the old structure, your app will continue to work just fine, but you will see a validation warning. You should update your config using the following example. Support for the old structure will be dropped in version 2 (in about 6 weeks).
To update, in
appConfig
, just replace, this:with this:
Apologies for any inconvenience - I usually try very hard to avoid implementing anything that is not backwards compatible, but this change will be easier to manage in the long-run.
For more info, please see the Authentication Docs.
Feel free to ask any questions :)
Beta Was this translation helpful? Give feedback.
All reactions