-
Notifications
You must be signed in to change notification settings - Fork 132
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
Snippets for new Auth admin features #94
base: master
Are you sure you want to change the base?
Conversation
@rsgowman could you take a look at these? Even nitpicks on naming/comments are useful because once you approve of these I will use them as a template for the snippets in other languages. |
displayName: 'updatedName', | ||
emailSignInConfig: { | ||
enabled: false, // Disable email provider. | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally, I had thought to just piggy-back the enablement of anon authentication docs into the existing create/update tenant docs. My reasoning was that this is just another parameter, not really much different than (eg) emailSignInConfig. If you did that here, you could get rid of the enableAnonAuth snippet entirely. (No objection to keeping it separate either though.)
Get user by federated ID:
https://github.com/firebase/firebase-admin-node/pull/769/files
Link/unlink federated in update:
https://github.com/firebase/firebase-admin-node/pull/770/files
Enable anon auth in tenant config:
https://github.com/firebase/firebase-admin-node/pull/802/files