Configuration options #7

Open
fbernier opened this Issue Feb 13, 2012 · 0 comments

Comments

Projects
None yet
1 participant

While implementing the auth server into my app, I encountered a few places where it would have been nice to have some more extensibility. For example, I have a custom view for the authorization page. From what I understand, it's not possible to use it unless I change line 12 here: https://github.com/Humagine/auth/blob/master/lib/auth/server.rb

If I do I also can't name it differently, or use a different templating engine, since it's hardcoded on line 111 here: https://github.com/Humagine/auth/blob/master/lib/auth/server.rb

Those are the first popping out of my head, but I guess there will be other cases.

If you agree, I'd like to implement those configuration options instead of having my own fork. I see different options, such as having something like it's already possible for the sentry:

Auth.sentry = MyModule::MyCustomSentryClass

or maybe having a yaml file to store such configuration.

What are your thoughts on this?

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