Progress on #2, #5; oauth isn't working but not far off

Using the Noir session doesn't seem to be the right thing to do. I should be using the Ring session, but I'm having a hard time getting my head round it. @yogthos is too bloody clever!
This commit is contained in:
Simon Brooke 2018-06-29 17:14:55 +01:00
parent 88468461fd
commit 4e296537c4
52 changed files with 465 additions and 114 deletions

View file

@ -1,5 +1,5 @@
{% extends "base.html" %}
<!-- File list-authorities-Authorities.html generated 2018-06-29T10:10:59.597Z by adl.to-selmer-templates.
<!-- File list-authorities-Authorities.html generated 2018-06-29T14:15:38.699Z by adl.to-selmer-templates.
See [Application Description Language](https://github.com/simon-brooke/adl).-->
{% block head %}
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
@ -33,12 +33,30 @@ Add a new Authority
<th>
id
</th>
<th>
request-token-uri
</th>
<th>
access-token-uri
</th>
<th>
authorize-uri
</th>
</tr>
<tr>
<th>
<input id='id' type='text' name='id' value='{{ params.id }}'/>
</th>
<th>
<input id='request_token_uri' type='text' name='request_token_uri' value='{{ params.request_token_uri }}'/>
</th>
<th>
<input id='access_token_uri' type='text' name='access_token_uri' value='{{ params.access_token_uri }}'/>
</th>
<th>
<input id='authorize_uri' type='text' name='authorize_uri' value='{{ params.authorize_uri }}'/>
</th>
<th>
<input type='submit' id='search' value='Search'/>
</th>
</tr>
@ -50,6 +68,15 @@ id
{{ record.id }}
</td>
<td>
{{ record.request_token_uri }}
</td>
<td>
{{ record.access_token_uri }}
</td>
<td>
{{ record.authorize_uri }}
</td>
<td>
<a href='form-authorities-Authority?id={{ record.id }}'>
View
</a>