tweaks
This commit is contained in:
@@ -47,4 +47,5 @@ export const router = new Router({
|
|||||||
StarterPack: '/starter-pack/:name/:rkey',
|
StarterPack: '/starter-pack/:name/:rkey',
|
||||||
StarterPackShort: '/starter-pack-short/:code',
|
StarterPackShort: '/starter-pack-short/:code',
|
||||||
StarterPackWizard: '/starter-pack/create',
|
StarterPackWizard: '/starter-pack/create',
|
||||||
|
AuthCallback: '/auth/callback',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
import {ListMaybePlaceholder} from '#/components/Lists'
|
||||||
|
|
||||||
|
export function CallbackScreen() {
|
||||||
|
return <ListMaybePlaceholder isLoading={true} />
|
||||||
|
}
|
||||||
@@ -46,6 +46,12 @@ type ServiceDescription = ComAtprotoServerDescribeServer.OutputSchema
|
|||||||
const client = new BrowserOAuthClient({
|
const client = new BrowserOAuthClient({
|
||||||
plcDirectoryUrl: 'https://plc.directory',
|
plcDirectoryUrl: 'https://plc.directory',
|
||||||
handleResolver: 'https://bsky.social',
|
handleResolver: 'https://bsky.social',
|
||||||
|
clientMetadata: {
|
||||||
|
client_id: 'http://localhost:19006/',
|
||||||
|
redirect_uris: ['http://localhost:19006/auth/callback'],
|
||||||
|
response_types: ['code'],
|
||||||
|
token_endpoint_auth_method: 'none',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
export function useOAuth(client: BrowserOAuthClient) {
|
export function useOAuth(client: BrowserOAuthClient) {
|
||||||
|
|||||||
Reference in New Issue
Block a user