Firebase Auth Tutorial #19 - Adding Admins

preview_player
Показать описание
Hey gang, in this Firebase auth tutorial I'll show you how we can call our firebase cloud function from the front-end to make users admins.

----------------------------------------

🐱‍💻 🐱‍💻 Course Links:

🤑🤑 Donate


🎓🎓 Find me on Udemy

Рекомендации по теме
Комментарии
Автор

this series of yours has just contributed in completion of second big web app and now it will be deployed soon. Thank a lot shaun, Stay Blessed and keep creating amazing content

ahsannissar
Автор

hey shaun i was a novice before on firebase
and you made me believed that i can learn firebase and that it not something you need to learn by paying a million to people just because you need to learn it
im happy and thank full for this opprtunity
keep up the good work bro, i wish you all the best
thanks
🤩😁😁🤩

danielchidera
Автор

Hey Shaun what’s the point of writing a cloud function if we can trigger the function from front end. Anyone can request to be an admin or tamper the code to invoke the function.

WhatIsThisAllAbout
Автор

if you're receiving data:null on the console then make sure the firebase function you created is properly returning the message. Especially don't forget to return the functions that returns a promise

shrestha
Автор

It's not easy for me to follow, but I have been taking notes to review this series later. It will help me understand it fully. Thank you!!!

Cho
Автор

it's fantasic that you're doing for us.

I am following your course and I have reached this point, and the moment I make the email post for admin, it gives me problems with the CORS. how can i solve ??? HELP!!

dodoromero
Автор

Dear @shaun, I think you have forgotten to show how to make an admin user non-admin (how to revoke the admin status). Thanks :)

ManuelSoutoPico
Автор

07:37

I don't get data object instead it returns object object without response message....


Can you resolve it????

azharraeisi
Автор

Hi, i have a register form that only i can see and would like to make any user that i enter in the register form an admin. How do i do so?

In order to first log into the admin panel, i need to have an admin user, how will i log into the admin panel without having an admin user?

karimdakrouri
Автор

hi shaun this tutorial is brilliant! i have a question about what if we have super admin on top of admin, so the flow becomes superadmin -> admin -> user and is this possible and how? thank you

hiromijorge
Автор

I seem to always get this error: Failed to load resource: the server responded with a status of 500 ()
index.cjs.js:70 Uncaught (in promise) Error: INTERNAL
at new HttpsErrorImpl (index.cjs.js:70)
at _errorForResponse (index.cjs.js:191)
at Service.<anonymous> (index.cjs.js:693)
at step (tslib.es6.js:208)
at Object.next (tslib.es6.js:138)
at fulfilled (tslib.es6.js:91)

aaronrs
Автор

Hey, quick question...this makes someone an admin for the entire app. But let's say you have one account say for a snowboard group, and you can add users to that group so you can all sign in with your own emails into the same account. You can invite people to account for different roles. How do u do this?

vincentgauthier
Автор

Hey there. Would you possibly be able to do a port video of this episode and episode in relation to your React Redux and Firebase series as I've been struggling to get it to work and not entirely sure how to get it working.

RobinHilton
Автор

hi, this is great course. thank you so much. how can i check user attributes (who is an admin) and how can i remove the admin claim from a user ?

prottlaender
Автор

how do you do this in a Vue app? I have deployed the function server-side but how do you call it in a Vue client? Because I have installed fire-base functions also on the client-side but the console is saying :



"firebase-admin appears to have been installed in an unsupported environment.
This package should only be used in server-side or backend Node.js environments,
and should not be used in web browsers or other client-side environments."

kangwachimba
Автор

How can I make admin manually without using cloud function from firebase consle .

KingLeoMessi
Автор

anyone else getting this error with vue js? "functions.httpsCallable is not a function"

JigarPatel
Автор

broo firebase is asking me to gofor blaze plan

nilkanththalkari
Автор

Does anyone know how to notify users that we already "successfully made as admin" as a model in the website itself, not only in the console

amyra
Автор

how to make signup page, in which user have to sign up with email, password and pay $10, then they have to login with same credentials to access my web application
(in short, i want only paid user to access my web application)
love to see tutorial on please redirect me to any useful youtube tutorial on this

shaad