Bug 262230 - [visionOS] Sign in with Apple window not anchored to the host app
Summary: [visionOS] Sign in with Apple window not anchored to the host app
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 17
Hardware: Vision Pro visionOS 1
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-27 17:37 PDT by Ryan Fuller
Modified: 2023-09-28 14:58 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Fuller 2023-09-27 17:37:29 PDT
The SiwA sheet is presented in unexpected places from a bincompat app using web
authentication. This is due to an incorrect bundle identifier, but the preferred
method is specifying a scene identifier to anchor to.

AuthKit has made changes to accept a callerSceneIndetifier from the auth request
(ASAuthorizationProviderExtensionAuthorizationRequest). So we need to return the
correct sceneID. WebKit (in SOAuthorizationSession) is responsible for firing
off the request, which is actually an SOAuthorizationRequest. Later, AuthKit
wraps this request in the AS..AuthorizationRequest.
Comment 1 Ryan Fuller 2023-09-27 17:41:25 PDT
rdar://116142970
Comment 2 Ryan Fuller 2023-09-27 18:11:36 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18321
Comment 3 Ryan Fuller 2023-09-27 19:02:46 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18323
Comment 4 Ryan Fuller 2023-09-27 19:04:25 PDT
(In reply to Ryan Fuller from comment #2)
> Pull request: https://github.com/WebKit/WebKit/pull/18321

This was declined, please see: https://github.com/WebKit/WebKit/pull/18323
Comment 5 EWS 2023-09-28 14:58:35 PDT
Committed 268613@main (5af55e89b234): <https://commits.webkit.org/268613@main>

Reviewed commits have been landed. Closing PR #18323 and removing active labels.