Firebase Storage Rules with Custom Claims
问题 I am unable to get Firebase Storage work with custom rules and using custom claims. In my Python Admin panel, I do the following to create the user and assign a claim client_id: # Standard Auth import firebase_admin from firebase_admin import db, storage, auth cred = firebase_admin.credentials.Certificate('path_to_cert_json') app = firebase_admin.initialize_app(cred, 'config') bucket = storage.bucket(app=app) # Create User auth.create_user(email=email) # Create custom claims auth.set_custom