Verified Commit 6d2febae authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove OIDC provider; never used, now broken

parent 8917a6a9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ INSTALLED_APPS = (
    'kodo_sso.custom_auth',
    'kodo_sso.accounts',
    'widget_tweaks',
    'oidc_provider',
)


+0 −27
Original line number Diff line number Diff line
{% extends "center_form.html" %}
{% load i18n %}

{% block title %}{% trans "Request for Permission :: OpenID" %}{% endblock %}
{% block heading %}{% trans "Request for Permission" %}{% endblock %}

{% block content %}
	{% url 'oidc:authorize' as form_action %}
	{{ block.super }}
{% endblock %}

{% block form %}
	<p>
		{% blocktrans %}
			Client <strong>{{ client.name }}</strong> would like to access this
			information about you:
		{% endblocktrans %}
	</p>
	<ul>
		{% for scope in params.scope %}
			<li>{{ scope|capfirst }}</li>
		{% endfor %}
	</ul>

	{{ hidden_inputs }}
	<button type="submit" name="allow">{% trans "Authorize" %}</button>
{% endblock form %}
+0 −10
Original line number Diff line number Diff line
{% extends "skeleton.html" %}
{% load i18n %}

{% block title %}{% trans "OpenID Error" %}{% endblock %}
{% block heading %}{% trans "OpenID Error" %}{% endblock %}

{% block content %}
	<h4>{{ error }}</h4>
	<p>{{ description }}</p>
{% endblock content %}
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ urlpatterns = [
	url(r'^$', RedirectView.as_view(
		pattern_name='user_settings', permanent=False)),
	url(r'^admin/', admin.site.urls),
	url(r'^openid/', include('oidc_provider.urls', namespace='oidc')),
	url(r'', include('kodo_sso.accounts.urls')),
	url(r'', include('django.contrib.auth.urls')),
]
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@ dependencies = [
	"Django~=3.2.0",
	"django-htmlmin~=0.8",
	"django-mysql~=4.5",
	"django-oidc-provider~=0.2",
	"django-widget-tweaks~=1.4",
	"passlib~=1.6",
]