Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use API if site require basic auth (401 Unauthorized) #104

Open
QuAzI opened this issue Jul 11, 2017 · 2 comments
Open

Can't use API if site require basic auth (401 Unauthorized) #104

QuAzI opened this issue Jul 11, 2017 · 2 comments
Assignees
Milestone

Comments

@QuAzI
Copy link

QuAzI commented Jul 11, 2017

We use specific apache authentication to protect CRM from world and Redtimer can't work with it because "401 Unauthorized" returned from server. Is any workaround available?

Apache configuration

Listen *:3000
<VirtualHost *:3000>
    DocumentRoot /var/www
    PassengerAppRoot /var/www/redmine
    Alias /redmine/ "/var/www/redmine/public/"
    RailsEnv production
    RailsBaseURI /redmine

   <Directory "/">
        AllowOverride AuthConfig

        AuthType Basic
        AuthName "Authentication Required"
        AuthBasicProvider file
        AuthUserFile /var/www/redmine/.htpasswd
        Require valid-user
        Satisfy Any

        Order allow,deny
    </Directory>

    <Directory "/var/www/redmine/public/">
        Options -Indexes -ExecCGI FollowSymLinks
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
@fathomssen
Copy link
Owner

Hi @QuAzI

Thanks for your suggestion. HTTP basic authentication is not supported yet but I will add it soon.

Best regards
Frederick Thomssen

@fathomssen fathomssen self-assigned this Jul 12, 2017
@fathomssen fathomssen added this to the RedTimer 1.3 milestone Jul 12, 2017
@fathomssen
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants