-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauth.pug
31 lines (28 loc) · 938 Bytes
/
auth.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
doctype html
html(lang="en")
head
title Granting Access
body
h3 #{client_id} is requesting access to your account.
p.
Sign in to grant #{client_id} access.
form(action='/signin', method='POST')
p.
Username
input(type='text' name='username')
p.
Password
input(type='password' name='password')
input(type='hidden' name='client_id' value=client_id)
input(type='hidden' name='redirect_uri' value=redirect_url)
input(type='hidden' name='response_type' value=response_type)
input(type='submit' name='submit')
if state
input(type='hidden' name='state' value=state)
if nonce
input(type='hidden' name='nonce' value=nonce)
if scope
input(type='hidden' name='scope' value=scope)
if code_challenge
input(type='hidden' name='code_challenge' value=code_challenge)
input(type='hidden' name='code_challenge_method' value=code_challenge_method)