forked from baron/baron-sso
Oathkeeper API 액세스 규칙 및 경로 업데이트
This commit is contained in:
@@ -83,6 +83,21 @@
|
|||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-well-known-oidc",
|
||||||
|
"description": "Hydra OIDC Discovery & JWKS (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/.well-known/<.*>",
|
||||||
|
"methods": ["GET", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "hydra-oauth2",
|
"id": "hydra-oauth2",
|
||||||
"description": "Hydra OAuth2 Endpoints",
|
"description": "Hydra OAuth2 Endpoints",
|
||||||
@@ -97,6 +112,21 @@
|
|||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-oauth2-oidc",
|
||||||
|
"description": "Hydra OAuth2 Endpoints (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/oauth2/<.*>",
|
||||||
|
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "hydra-userinfo",
|
"id": "hydra-userinfo",
|
||||||
"description": "Hydra Userinfo",
|
"description": "Hydra Userinfo",
|
||||||
@@ -110,5 +140,20 @@
|
|||||||
"authenticators": [{ "handler": "noop" }],
|
"authenticators": [{ "handler": "noop" }],
|
||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-userinfo-oidc",
|
||||||
|
"description": "Hydra Userinfo (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/userinfo",
|
||||||
|
"methods": ["GET", "POST", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -83,6 +83,21 @@
|
|||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-well-known-oidc",
|
||||||
|
"description": "Hydra OIDC Discovery & JWKS (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/.well-known/<.*>",
|
||||||
|
"methods": ["GET", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "hydra-oauth2",
|
"id": "hydra-oauth2",
|
||||||
"description": "Hydra OAuth2 Endpoints",
|
"description": "Hydra OAuth2 Endpoints",
|
||||||
@@ -97,6 +112,21 @@
|
|||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-oauth2-oidc",
|
||||||
|
"description": "Hydra OAuth2 Endpoints (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/oauth2/<.*>",
|
||||||
|
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "hydra-userinfo",
|
"id": "hydra-userinfo",
|
||||||
"description": "Hydra Userinfo",
|
"description": "Hydra Userinfo",
|
||||||
@@ -110,5 +140,20 @@
|
|||||||
"authenticators": [{ "handler": "noop" }],
|
"authenticators": [{ "handler": "noop" }],
|
||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-userinfo-oidc",
|
||||||
|
"description": "Hydra Userinfo (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/userinfo",
|
||||||
|
"methods": ["GET", "POST", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -83,6 +83,21 @@
|
|||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-well-known-oidc",
|
||||||
|
"description": "Hydra OIDC Discovery & JWKS (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/.well-known/<.*>",
|
||||||
|
"methods": ["GET", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "hydra-oauth2",
|
"id": "hydra-oauth2",
|
||||||
"description": "Hydra OAuth2 Endpoints",
|
"description": "Hydra OAuth2 Endpoints",
|
||||||
@@ -97,6 +112,21 @@
|
|||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-oauth2-oidc",
|
||||||
|
"description": "Hydra OAuth2 Endpoints (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/oauth2/<.*>",
|
||||||
|
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "hydra-userinfo",
|
"id": "hydra-userinfo",
|
||||||
"description": "Hydra Userinfo",
|
"description": "Hydra Userinfo",
|
||||||
@@ -110,5 +140,20 @@
|
|||||||
"authenticators": [{ "handler": "noop" }],
|
"authenticators": [{ "handler": "noop" }],
|
||||||
"authorizer": { "handler": "allow" },
|
"authorizer": { "handler": "allow" },
|
||||||
"mutators": [{ "handler": "noop" }]
|
"mutators": [{ "handler": "noop" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "hydra-userinfo-oidc",
|
||||||
|
"description": "Hydra Userinfo (with /oidc prefix)",
|
||||||
|
"match": {
|
||||||
|
"url": "<.*>://sso-test.hmac.kr/oidc/userinfo",
|
||||||
|
"methods": ["GET", "POST", "OPTIONS"]
|
||||||
|
},
|
||||||
|
"upstream": {
|
||||||
|
"url": "http://hydra:4444",
|
||||||
|
"strip_path_prefix": "/oidc"
|
||||||
|
},
|
||||||
|
"authenticators": [{ "handler": "noop" }],
|
||||||
|
"authorizer": { "handler": "allow" },
|
||||||
|
"mutators": [{ "handler": "noop" }]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user