Error response enhancements, CoreID auth client backend

This commit is contained in:
2022-03-29 01:14:46 -05:00
parent a039b1ff25
commit 8f08b94f74
31 changed files with 736 additions and 52 deletions

View File

@@ -9,7 +9,12 @@ block content
else
p This will allow #{clientName} full access to your account.
//p After allowing this, you may not be prompted again.
div(style='display: flex; flex-direction: row; padding-top: 20px')
form(method='get' action=(hasRoute('home') ? named('home') : route('/')))
button.button(type='submit') Deny
if buttonText && buttonUrl
a.button(href=buttonUrl) #{buttonText}
form(method='post' style='padding-left: 20px')
button.button(type='submit') Allow
p
small(style='color: var(--color-accent-text)') After allowing, will redirect to: #{redirectDomain}