-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement adminRestrictedOperation config to support disabling …
…multiple providers (#857) * Implement adminRestrictedOpeartion config to support disabling multiple providers.
- Loading branch information
Showing
81 changed files
with
8,518 additions
and
4,676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* Improved UI support for all identity provider sign up operations when they are restricted by site administrators. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -447,6 +447,30 @@ FirebaseUI supports the following configuration parameters. | |
when Privacy Policy link is clicked. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>adminRestrictedOperation</td> | ||
<td>No</td> | ||
<td> | ||
The object for configuring `adminRestrictedOperation` options, contains 3 | ||
fields: | ||
`status(boolean)`: This flag should mirror the project user actions | ||
("Enable create") settings. When sign-up is disabled in the project settings, | ||
this should be set to `true`. Setting this to `true` without disabling sign-up | ||
in the project settings will not have any effect. For GCIP projects, this is | ||
done by going to the "Settings" page in the "Identity Platform" section in the | ||
Cloud Console. Under the "USERS" tab, go to "User actions". Uncheck "Enable | ||
create (sign-up)" and click "SAVE". | ||
This does not enforce the policy but is rather useful for providing additional | ||
instructions to the end user when a user tries to create a new user account | ||
and the Auth server blocks the operation. This boolean works on all providers | ||
(federated, email/password, email link and phone number). | ||
`adminEmail(string|undefined)`: The optional site administrator email to | ||
contact for access when sign up is disabled, for example: `[email protected]`. | ||
`helpLink(string|undefined)`: The optional help link to provide information | ||
on how to get access to the site when sign up is disabled. For example: | ||
`https://www.example.com/trouble_signing_in`. | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.