fix: 🐛 Apps without websites would break consent page

This commit is contained in:
Jesse Wierzbinski 2024-05-12 12:39:10 -10:00
parent c0ced8b4cb
commit a41aa3b91d
No known key found for this signature in database

View file

@ -101,7 +101,7 @@ const client_id = query.client_id;
const scope = query.scope ? decodeURIComponent(query.scope as string) : ""; const scope = query.scope ? decodeURIComponent(query.scope as string) : "";
const validUrlParameters = const validUrlParameters =
application && website && redirect_uri && client_id && scope; application && redirect_uri && client_id && scope;
const oauthScopeText: Record<string, string> = { const oauthScopeText: Record<string, string> = {
"rw:accounts": "$VERB your account information", "rw:accounts": "$VERB your account information",