mirror of
https://github.com/tooot-app/app
synced 2025-02-14 10:50:48 +01:00
parent
e13669af56
commit
0de7e84f58
@ -87,7 +87,7 @@ const ComponentInstance: React.FC<Props> = ({
|
|||||||
})
|
})
|
||||||
await request.makeAuthUrlAsync(discovery)
|
await request.makeAuthUrlAsync(discovery)
|
||||||
|
|
||||||
const promptResult = await request.promptAsync(discovery)
|
const promptResult = await request.promptAsync(discovery, await browserPackage())
|
||||||
|
|
||||||
if (promptResult?.type === 'success') {
|
if (promptResult?.type === 'success') {
|
||||||
const { accessToken } = await AuthSession.exchangeCodeAsync(
|
const { accessToken } = await AuthSession.exchangeCodeAsync(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user