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

EVENT-843 - FedCM Beta Testing #849

Merged
merged 1 commit into from
Dec 14, 2023
Merged

EVENT-843 - FedCM Beta Testing #849

merged 1 commit into from
Dec 14, 2023

Conversation

caleballdrin
Copy link
Contributor

Description

https://jira.cru.org/browse/EVENT-843
Google login is changing and we need to be ready for it, we should hop on the FedCM beta to make sure this move won't break ERT's ability to login via Google.

https://developers.googleblog.com/2023/08/announcing-federated-credential-management-beta-for-gis.html

Changes I made

I followed these steps: https://developers.google.com/identity/gsi/web/guides/fedcm-migration

@caleballdrin caleballdrin self-assigned this Dec 12, 2023
@caleballdrin caleballdrin added the On Staging Will be merged to the staging branch by Github Actions label Dec 12, 2023
@wrandall22 wrandall22 changed the title FedCM Beta Testing EVENT-843 - FedCM Beta Testing Dec 12, 2023
@@ -278,7 +278,7 @@ AddDefaultCharset utf-8
# see the specification: http://w3.org/TR/CSP).

# <IfModule mod_headers.c>
# Header set Content-Security-Policy "script-src 'self'; object-src 'self'"
# Header set Content-Security-Policy "script-src 'self' https://accounts.google.com/gsi/client; object-src 'self'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change do anything? Isn't this entire line just a comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't do anything. But if the CSP ever gets used, it will need to be there.

Copy link
Contributor

@canac canac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to login with Google in a Chromium browser (which I believe supports FedCM) and in Firefox (which I don't believe supports FedCM).

@wrandall22
Copy link
Contributor

Compatibility reference

@caleballdrin caleballdrin merged commit f47ac1b into master Dec 14, 2023
14 checks passed
@caleballdrin caleballdrin deleted the fedcm branch December 14, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Staging Will be merged to the staging branch by Github Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants