refactor: add renderer middleware + base of roles and authorizations
This commit is contained in:
parent
40b892391a
commit
c277ab3bd9
30 changed files with 374 additions and 137 deletions
5
http_integration_tests/.curl-cookies
Normal file
5
http_integration_tests/.curl-cookies
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Netscape HTTP Cookie File
|
||||
# https://curl.se/docs/http-cookies.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
||||
localhost FALSE / FALSE 1731761080 minauth_jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIwZGZkOThlYy1mYjc3LTRjMWEtOTk5NS00Njg0Y2Y5NDM2NjYiLCJleHAiOjE3MzEyNDI2ODB9.Qnu8UiryN-NZIMk2-YorCuqY5g0ZJwRdszeBe_Y5S3E
|
||||
10
http_integration_tests/authorize.sh
Executable file
10
http_integration_tests/authorize.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
curl -v http://localhost:8085/authorize \
|
||||
-G \
|
||||
--cookie ".curl-cookies" \
|
||||
-d client_id="a1785786-8be1-443c-9a6f-35feed703609" \
|
||||
-d response_type="code" \
|
||||
-d redirect_uri="https://localhost:9090/authorize" \
|
||||
-d scope="read_basics" \
|
||||
-d state="qxYAfk4kf6pbZkms78jM"
|
||||
6
http_integration_tests/login.sh
Executable file
6
http_integration_tests/login.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
curl -v http://localhost:8085/login \
|
||||
--cookie-jar ".curl-cookies" \
|
||||
-d login="test" \
|
||||
-d password="test"
|
||||
6
http_integration_tests/register.sh
Executable file
6
http_integration_tests/register.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
curl -v http://localhost:8085/register \
|
||||
-d email="test@example.org" \
|
||||
-d handle="test" \
|
||||
-d password="test"
|
||||
Loading…
Add table
Add a link
Reference in a new issue