Skip to content
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

Ability to set a cloud function as a blocking auth function. ( beforeCreate or beforeSignIn) #16339

Closed
EduardJoy opened this issue Oct 23, 2023 · 5 comments

Comments

@EduardJoy
Copy link

EduardJoy commented Oct 23, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

I think we would benefit from being able to set a cloud function as a blocking cloud function for firebase authentication.
Tradintionally this is done through either Identity Platform or Firebase Console
image

New or Affected Resource(s)

Google Cloud Functions / Google identity platform / Firebase

b/308569675

@EduardJoy EduardJoy changed the title Ability to set a cloud function as a blocking auth function Ability to set a cloud function as a blocking auth function. ( beforeCreate or beforeSignIn) Oct 23, 2023
@rileykarson rileykarson added this to the Goals milestone Oct 30, 2023
@rileykarson
Copy link
Collaborator

Looks like part of google_identity_platform_config based on https://cloud.google.com/identity-platform/docs/reference/rest/v2/Config#BlockingFunctionsConfig

@ymonte
Copy link

ymonte commented Oct 31, 2023

The team is working on getting this updated in the Firebase docs, but the beta feature you are looking for is available I believe. Check out: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/identity_platform_config

@EduardJoy
Copy link
Author

Thank you @ymonte ! This is exactly what I have been searching for!

@melinath
Copy link
Collaborator

resolved by GoogleCloudPlatform/magic-modules#8402

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants