Skip to content

How to authenticate to an external service with http basic auth? #8668

Answered by moutasem1989
DenuxPlays asked this question in Q&A
Discussion options

You must be logged in to vote

Can you try the following:
In the Nginx Proxy Manager configurations uncomment those two lines and maybe add the third:

auth_request_set $authentik_auth $upstream_http_authorization;
proxy_set_header Authorization $authentik_auth;
proxy_pass_header Authorization;

In Authentik > Admin Panel > Directory > Users or Groups: edit the desired user or group and add the following to the Attribute field

serviceusername: xyz
servicepassword: ***

In Authentik > Admin Panel > Applications > Providers: edit the desired proxy provider. Enable Send HTTP-Basic Authentication and add the attributes we just created in the User/Group serviceusername and servicepassword.

Try in congnito mode or clear brows…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DenuxPlays
Comment options

@moutasem1989
Comment options

@yacob841
Comment options

@moutasem1989
Comment options

Answer selected by DenuxPlays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants