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

Using this with echo? #16

Closed
siredwin opened this issue Jun 30, 2017 · 4 comments
Closed

Using this with echo? #16

siredwin opened this issue Jun 30, 2017 · 4 comments

Comments

@siredwin
Copy link

I tried to incorporate this example to echo but a lot of things seem to break.
Do you have an example somewhere with this on echo?

@aarondl
Copy link
Member

aarondl commented Jul 1, 2017

I don't actually have any examples. Maybe you could post some pieces that are breaking? Keep in mind that Authboss has it's own router, so using echo you should be using http://godoc.org/github.com/labstack/echo#Echo.Any I believe to mount the Authboss handler.

@siredwin
Copy link
Author

siredwin commented Jul 4, 2017

h := echo.WrapHandler(ab.NewRouter())
e.Any("/authboss", h)

This far, i figured!
All my pages don't render. Something about the templates is not right.

@aarondl
Copy link
Member

aarondl commented Jul 5, 2017

Check the Authboss logs. May tell you something.

@siredwin
Copy link
Author

siredwin commented Jul 5, 2017

The logs are empty. Just to be sure, is it using the old version of context? My errors seem to be context related. If that is the case i will wait for v2 release as i use Go 1.8+ now. When is the release?

@siredwin siredwin closed this as completed Jul 8, 2017
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