Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

firebase Your client does not have permission to get URL from this server

#KMJ answered on March 21, 2023 Popularity 7/10 Helpfulness 2/10

Contents


More Related Answers

  • Firebase Storage: User does not have permission to access
  • Firebase Storage: User does not have permission to access
  • the caller does not have permission firestore
  • Firebase Storage: User does not have permission to access 403
  • subdomain You don't have permission to access this resource.

  • firebase Your client does not have permission to get URL from this server

    0

    Without Authorization:

    Go to the cloud function tab

    Select your cloud function (check box)

    Click "Add members" under Permissions tab in the right side

    Enter "allUsers" under "New memebers"

    Select Role as "Cloud Functions -> Cloud Functions Invoker"

    Save

    Test your cloud function by just pasting it in the browser


    With Authorization:

    It's always a good practice to set authorization on your cloud functions

    Note: Cloud functions throwing error with "403 Forbidden - Your client does not have permission to get URL" should be called by authorized users.

    Simple test:

    Click on Cloud shell(icon) terminal in the top

    type - gcloud auth print-identity-token

    copy the generated token

    forming Authorization key to be passed while calling cloud function 4.1 Authorization: bearer generated_token

    Use above Authorization key while calling your cloud function

    Note:

    Never make a cloud function available to allUsers 

    Popularity 7/10 Helpfulness 2/10 Language whatever
    Link to this answer
    Share Copy Link
    Contributed on Mar 21 2023
    #KMJ
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.