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

Use Safari for OIDC account URL. #1591

Merged
merged 3 commits into from
Aug 30, 2023
Merged

Use Safari for OIDC account URL. #1591

merged 3 commits into from
Aug 30, 2023

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Aug 29, 2023

Following on from matrix-org/matrix-authentication-service#1598, cookies are now correctly shared from the ASWebAuthenticationSession to Safari. As requested by the auth team, we now open the account URL in Safari. The WAS is still used in the follow scenarios:

  • On the simulator - it doesn't get access to the cookie in Safari for some reason.
  • When Safari is disabled behind Screen Time (by checking for canOpenURL).

Additionally, this PR will present RP-Initiated Logout to the user when returned by the authentication issuer (untested).

@pixlwave pixlwave requested a review from a team as a code owner August 29, 2023 18:12
@pixlwave pixlwave requested review from stefanceriu and removed request for a team August 29, 2023 18:12
@github-actions
Copy link

github-actions bot commented Aug 29, 2023

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 60145c5

Only used on devices, the simulator doesn't work properly.
Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pixlwave pixlwave enabled auto-merge (squash) August 30, 2023 08:17
@pixlwave pixlwave merged commit a5045e1 into develop Aug 30, 2023
@pixlwave pixlwave deleted the doug/oidc-safari branch August 30, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants