mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 11:39:16 +01:00
fix: 🐛 Fix broken auth consent flow
Some checks failed
Some checks failed
This commit is contained in:
parent
7ae35b2cf0
commit
d01aa22477
3 changed files with 11 additions and 13 deletions
|
|
@ -5,21 +5,17 @@
|
|||
backgroundImage: 'url(/images/banner.webp)',
|
||||
}"
|
||||
>
|
||||
<form
|
||||
method="POST"
|
||||
:action="url.pathname.replace('/oauth/consent', '/oauth/authorize')"
|
||||
class="w-full max-w-md"
|
||||
>
|
||||
<form method="GET" :action="redirectUri" class="w-full max-w-md">
|
||||
<Card class="*:w-full p-6">
|
||||
<input type="hidden" name="code" :value="params.code">
|
||||
<input
|
||||
type="hidden"
|
||||
v-for="[key, value] in url.searchParams"
|
||||
:key="key"
|
||||
:name="key"
|
||||
:value="value"
|
||||
v-if="params.state"
|
||||
name="state"
|
||||
:value="params.state"
|
||||
>
|
||||
<CardHeader>
|
||||
<CardTitle as="h1" class="text-2xl break-words">
|
||||
<CardTitle as="h1" class="text-2xl wrap-break-word">
|
||||
{{
|
||||
m.fresh_broad_cockroach_radiate({
|
||||
application: application ?? "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue