Skip to content

Not compatible with CloudRun due to cookie domain not set #77

Closed

Description

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Be warned: To make this work on CloudRun had to vendor the stores and set cookie domain. Guess other loadbalancers/gateways throw away cookies without cookie domain set as well.

Reproduction

Be warned: To make this work on CloudRun had to vendor the stores and set cookie domain. Guess other loadbalancers/gateways throw away cookies without cookie domain set as well.

Additional context

No response

auth0-fastapi version

Latest

Python version

3.13

Activity

  1. added
    enhancementNew feature or request
    and removed
    bugSomething isn't working
    on Jan 21, 2026
  2. kishore7snehil commented on Jan 21, 2026

    @kishore7snehil
    Contributor

    Hi @helmut-hoffer-von-ankershoffen , Thanks for reporting this issue and providing the context about CloudRun!
    For now, the workaround you've implemented (vendoring the stores and setting the domain manually) is the recommended approach for CloudRun deployments.
    We'll label this as an enhancement and accept PRs if anyone in the community wants to contribute. In the meantime, we'll track this for a future release when we're revisiting cookie configuration.

    Thanks again for taking the time to document this!

  3. rmad17 commented on May 7, 2026

    @rmad17
    Contributor

    Hi @helmut-hoffer-von-ankershoffen, we would like to know more about this issue and it be very helpful if you could share the following details:

    1. Did you try to deploy this app on any other platform apart from Google CloudRun?
    2. Was this a custom domain? Or a domain generated by CloudRun?
    3. What was the app_base_url configured to?
    4. What were the specific changes you made when vendoring the stores?

    Thanks again for reporting the issue.

  4. rmad17 commented on Aug 6, 2026

    @rmad17
    Contributor

    Hi @helmut-hoffer-von-ankershoffen , we haven't heard back on the queries above, we'll close this for now. Thanks again for flagging the issue and sharing your workaround. Feel free to reopen or comment with more details anytime if you'd like us to revisit it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions