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

Best way to implement login screen #66

Closed
alexborisov opened this issue Oct 3, 2016 · 2 comments
Closed

Best way to implement login screen #66

alexborisov opened this issue Oct 3, 2016 · 2 comments
Assignees

Comments

@alexborisov
Copy link

Any suggestions of the best way to go about a login screen? Obviously I can throw it behind an HTTP auth rule, but thats a little lame.

Looking at the code it seems like i might have to implement a custom layout (dashboard doesn't seem flexible enough), but perhaps there is a better way? All I need is to post a user/pass and get back a JWT token to store in local storage. I've written a REST adapter to handle this, but I'm passing it as a hardcoded prop on restClient.

@fzaninotto
Copy link
Member

Until admin-on-rest handles it natively, you'll have to use a custom app for that. A good example can be found in our javascript boilerplate.

@fzaninotto
Copy link
Member

Fixed by #257

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

2 participants