basic config
This commit is contained in:
@ -4,11 +4,16 @@ serve:
|
||||
|
||||
urls:
|
||||
self:
|
||||
issuer: http://127.0.0.1:4444
|
||||
issuer: http://oauth2.logidex.ru
|
||||
public: http://oauth2.logidex.ru
|
||||
admin: http://oauth2.logidex.ru
|
||||
consent: http://id.logidex.ru/consent
|
||||
login: http://id.logidex.ru/login
|
||||
login: http://id.logidex.ru/
|
||||
logout: http://id.logidex.ru/logout
|
||||
|
||||
strategies:
|
||||
access_token: jwt
|
||||
|
||||
secrets:
|
||||
system:
|
||||
- youReallyNeedToChangeThis
|
||||
|
||||
@ -22,6 +22,9 @@ server {
|
||||
if ($arg_secret = "CHANGE-ME-INSECURE-PASSWORD") {
|
||||
set $allow 1;
|
||||
}
|
||||
if ($http_x_secret = "CHANGE-ME-INSECURE-PASSWORD") {
|
||||
set $allow 1;
|
||||
}
|
||||
if ($allow = 0) {
|
||||
return 403;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user