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

Custom Integrations / Auth / CSS or Design #114

Closed
bluengreen opened this issue Mar 17, 2017 · 8 comments
Closed

Custom Integrations / Auth / CSS or Design #114

bluengreen opened this issue Mar 17, 2017 · 8 comments
Labels

Comments

@bluengreen
Copy link

How would I go about creating a custom integration?

How would I go about securing my admin interface with my legacy authentication store or oauth provider?

How would I customize the design (CSS/SCSS)?

Thanks

@arnaudbesnier
Copy link
Member

Hi @bluengreen

If you need to create a custom integration the best way to do it is to contribute and implement your integration in the Rails liana code. As example you can look into our current integrations code (Intercom, Stripe,...).

About the security of your admin interface, the best and simplest way to handle it is to use the built-in Forest user authentication. If you have existing admin users for you current admin interface, invite them in Forest ;)

About the design, it is not currently possible to customise the style of the UI.
By the way, we will release a brand new design at the end of the week.
Hope you'll like it!

@bluengreen
Copy link
Author

Ok. Thanks. So if our systems are built on API's / service oriented architecture, would you say the best way to use forest is to create an integration?

@arnaudbesnier
Copy link
Member

I am not really sure to understand. Do you have a micro service architecture or do you have a single Rails app consuming a single database?

@bluengreen
Copy link
Author

We don't have micro services but have several services for various things, processing payments, customer search, notifications, etc. These are our own internal services, not meant to be opensourced.

@arnaudbesnier
Copy link
Member

So if you have a single database, it should work properly.
Did you try to install Forest on your Rails then?

@bluengreen
Copy link
Author

Yes. But the services data isn't in the local database. So no resources were built on load.

@arnaudbesnier
Copy link
Member

So you need to implement what we call Smart Collections. Here is an example: http://doc.forestadmin.com/developers-guide/#creating-a-smart-collection

@bluengreen
Copy link
Author

hmmm That's interesting. Following the example from the link, can Item be say an active resource or a Her model? All Forest cares about is that the route returns json right?

Thanks

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

No branches or pull requests

2 participants