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

Add basic http auth for admin #64

Open
samselikoff opened this issue Jun 22, 2015 · 2 comments
Open

Add basic http auth for admin #64

samselikoff opened this issue Jun 22, 2015 · 2 comments

Comments

@samselikoff
Copy link
Contributor

When user first sets up feb with a backend, if there's no app they need some way to authenticate to access the admin

front_end_admin http_auth: true
@hhff
Copy link
Contributor

hhff commented Jun 22, 2015

👍 often have the rails app setup just to host the ember app for staging purposes. def need this!

@anilmaurya
Copy link
Contributor

Until this feature is added, use this

protected_app = Rack::Auth::Basic.new(FrontEndBuilds::Engine) do |username, password|
   username == ENV['username'] && password == ENV['password']
end

mount protected_app, at: '/admin'

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

No branches or pull requests

3 participants