You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lib/src/resources/views/oauth2/authorize.pug

21 lines
700 B

extends ../base
block content
.offset(style='padding-top: 20vh')
h3.login-heading Authorize #{clientName}?
if scopeDescription
p This will allow #{clientName} to #{scopeDescription}.
else
p This will allow #{clientName} full access to your account.
div(style='display: flex; flex-direction: row; padding-top: 20px')
form(method='get' action=(hasRoute('home') ? named('home') : route('/')))
button.button(type='submit') Deny
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}