From f461a713ce28e434a34dca4e4d1abbfe255ef1ff Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 6 Oct 2014 19:12:13 +0200 Subject: Add OpenIDP Provider This commit implements all the core functionality needed to expose an OpenID Identity Provider including a framework to dynamycally add extensions. Signed-off-by: Patrick Uiterwijk Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- ipsilon/root.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ipsilon/root.py') diff --git a/ipsilon/root.py b/ipsilon/root.py index b2654ac..e214115 100755 --- a/ipsilon/root.py +++ b/ipsilon/root.py @@ -39,6 +39,7 @@ class Root(Page): if template_env: sites[site]['template_env'] = template_env super(Root, self).__init__(sites[site]) + self.html_heads = dict() # set up error pages cherrypy.config['error_page.400'] = errors.Error_400(self._site) @@ -60,4 +61,6 @@ class Root(Page): ProviderPlugins(self._site, self.admin) def root(self): - return self._template('index.html', title='Ipsilon') + self.debug(self.html_heads) + return self._template('index.html', title='Ipsilon', + heads=self.html_heads) -- cgit