-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello,
as many of others I am looking to validate a bearer token provided by an internal separate OP (so I am sure I am authenticated already), via HTTPD / Apache in order to call a REST API running somewhere behind that OP.
since the OAauth2 is suppressed from the last version of auth_openidc I am wondering what kind of config to put into httpd.conf? I have the introspection URL and the token generated but I don't know how to set them:
a partial config of my httpd-API.conf that is not working when I call my API using GET
OAuth2TokenVerify introspect https://introspect-url/validatetoken introspect.ssl_verify=false&introspect.auth=client_secret_basic&client_id=API&client_secret=XXXXXX
<Location /api/1.0/>
Authtype oauth20
Require valid-user
ProxyPass http://localhost:8282/ma/
ProxyPassReverse http://localhost:8282/ma/
and I receive: No authentication done but request not allowed without authentication....Authentication not configured?
[auth_openidc:error] [pid 106696] [client IP-X.X.X.X:50346] oidc_oauth_validate_jwt_access_token: could not parse JWT from access_token: [src/jose.c:755: oidc_jwt_parse]: cjose_jws_import failed: invalid argument [file: jws.c, function: cjose_jws_import, line: 787]
could you please help me?
let me know what other information needed.
Appreciate your help