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

Add possibility to enable Email/Password authentication on the Identity Platform #8288

Comments

@amerello
Copy link

amerello commented Jan 25, 2021

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.

The identity_platform_oauth_idp_config resource allows to configure OIDC providers on the Identity Platform, which is working as expected.

The Identity Platform also supports Email/Password and Phone as configurable providers, but the terraform resource doesn't support this feature.

This is how to enable it manually, but this is of course not great and it would be nice to be able to do this via Terraform

@wvanderdeijl
Copy link

We are also in the process of moving to Identity Platform with Terraform and found that changing the Identity Platform config at project level is not supported through Terraform. Updating that Config is what is required to enable email/password authentication, but also things like MFA, ClientConfig.Permissions, email templates, custom domains, etcetera

The API itself is described at https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects/updateConfig

@c2thorn
Copy link
Collaborator

c2thorn commented Jan 25, 2021

API supports get/update for the project level config and many fields.
https://cloud.google.com/identity-platform/docs/reference/rest/v2/Config

@c2thorn c2thorn removed their assignment Jan 25, 2021
@c2thorn c2thorn added this to the Goals milestone Jan 25, 2021
@ToeFungi
Copy link

Any updates on this?

2 similar comments
@rybalka-bohdan
Copy link

Any updates on this?

@sheikhaafaq
Copy link

Any updates on this?

@sheikhaafaq
Copy link

Is there any option available in gcloud to create an identity provider by email and password?

@melinath
Copy link
Collaborator

b/249541734

@melinath
Copy link
Collaborator

This is scoped to adding a new resource to support getting/updating the default Config object, and specifically only supporting the sign-in config field. All other fields can be excluded for now.

@ernani
Copy link

ernani commented Oct 2, 2022

Is this related to this issue?
#8510

I think there we have a clearer explanation of what's required.

@StephenWithPH
Copy link

Is this related to this issue?
#8510

@ernani ... I did not open this issue, but I believe #8510 addresses supporting email and password signin as this issue requests.

#8510 would certainly satisfy the use case I'm after.

@StephenWithPH
Copy link

Interestingly, identity_platform_tenant already supports (in a multi-tenant Identity Platform project) tenant-level configuration of email/password and email/magiclink auth:

allow_password_signup - (Optional) Whether to allow email/password user authentication.

enable_email_link_signin - (Optional) Whether to enable email link user authentication.

@github-actions
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 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.