You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can see here and here that the options passed to promptAsync are (possibly augmented with url) and then passed to WebBrowser.openAuthSessionAsync. The docs (and corresponding Typescript types) currently indicate that the only options allowed in promptAsync (promptAsync under useAuthRequest) are AuthRequestPromptOptions, but more options are technically allowed given the code referenced above. The docs and Typescript types should also include the options listed under WebBrowser's AuthSessionOpenOptions as indicated by the docs for openAuthSessionAsync.
Summary
We can see here and here that the options passed to
promptAsync
are (possibly augmented with url) and then passed toWebBrowser.openAuthSessionAsync
. The docs (and corresponding Typescript types) currently indicate that the only options allowed inpromptAsync
(promptAsync
under useAuthRequest) are AuthRequestPromptOptions, but more options are technically allowed given the code referenced above. The docs and Typescript types should also include the options listed under WebBrowser's AuthSessionOpenOptions as indicated by the docs for openAuthSessionAsync.Link to the related docs page
https://docs.expo.dev/versions/latest/sdk/auth-session/
Anything else?
The typescript types are incorrect as well.
The text was updated successfully, but these errors were encountered: