feat: better but not perfect misskey auth support
This commit is contained in:
parent
d9aa6e4fae
commit
75407827bc
6 changed files with 92 additions and 35 deletions
|
@ -69,9 +69,6 @@
|
|||
</ListGroup>
|
||||
<Modal header="Pick an instance" isOpen={modalOpen} toggle={toggleModal}>
|
||||
<ModalBody>
|
||||
<p>
|
||||
<strong>Note:</strong> Misskey (and derivatives) are not supported yet, sorry.
|
||||
</p>
|
||||
<Input placeholder="Instance (e.g. mastodon.social)" bind:value={instance} />
|
||||
{#if error}
|
||||
<div class="mt-2">
|
||||
|
|
|
@ -8,8 +8,7 @@ export const load = (async ({ url, params }) => {
|
|||
method: "POST",
|
||||
body: {
|
||||
instance: params.instance,
|
||||
code: url.searchParams.get("code"),
|
||||
state: url.searchParams.get("state"),
|
||||
code: url.searchParams.get("token"),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -128,9 +128,6 @@
|
|||
</div>
|
||||
<Modal header="Pick an instance" isOpen={fediLinkModalOpen} toggle={toggleFediLinkModal}>
|
||||
<ModalBody>
|
||||
<p>
|
||||
<strong>Note:</strong> Misskey (and derivatives) are not supported yet, sorry.
|
||||
</p>
|
||||
<Input placeholder="Instance (e.g. mastodon.social)" bind:value={instance} />
|
||||
{#if error}
|
||||
<div class="mt-2">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue