Me again,

It's the apache conf, at
*openxpki-config/contrib/apache2-openxpki-site.conf,* that needs to be
updated with the right code (to support basic authentication).

That code can easily be found in apache docs, or in the internet: how to
enable basic auth in apache. (for the people who are not familiar with
apache and linux and whatsoever, like myself)

Though, I don't know how to consume the details such as the username from
apache and use it in the workflow.

Current state:
I send a curl authenticated with basic auth, say bob.

But when i see the catchall.log, i see user "Anonymous".

Even though, I followed the docs and added the stack and handler, it
appears i'm still missing something.

My stack.yml looks like this,
I tried both with envkeys and without
_BasicAuth:
handler: ExternalAuth
type: client # looks like a label, not sure what type means in this context
username: REMOTE_USER
# envkeys:
# username: REMOTE_USER

And the handler
ExternalAuth:
type: NoAuth
role: Anonynous

A little help on this?
Thank you
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to