Add markers to highlight where to begin and end copy/pasta on oidc script.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
b5cf0d7844
commit
096edb164a
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ secret = base64.urlsafe_b64encode(os.urandom(64))[:64]
|
||||||
template = """
|
template = """
|
||||||
Run this SQL against Ipsilon's database:
|
Run this SQL against Ipsilon's database:
|
||||||
|
|
||||||
|
--------START CUTTING HERE--------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
insert into token values ('{uuid}','username','{service_name}@service');
|
insert into token values ('{uuid}','username','{service_name}@service');
|
||||||
insert into token values ('{uuid}','security_check','{secret}');
|
insert into token values ('{uuid}','security_check','{secret}');
|
||||||
|
@ -41,6 +42,8 @@ insert into token values ('{uuid}','type','Bearer');
|
||||||
insert into token values ('{uuid}','issued_at','{now}');
|
insert into token values ('{uuid}','issued_at','{now}');
|
||||||
insert into token values ('{uuid}','scope','{scope}');
|
insert into token values ('{uuid}','scope','{scope}');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
-------- END CUTTING HERE --------
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue