Skip to content
Snippets Groups Projects
Commit 85c4a076 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

dont add SSO to views in navbar

parent be7dc9d1
No related branches found
No related tags found
No related merge requests found
Pipeline #131172 passed
...@@ -33,7 +33,7 @@ class UnityIntegrationView(AppBuilderBaseView): ...@@ -33,7 +33,7 @@ class UnityIntegrationView(AppBuilderBaseView):
@unity.route('/') @unity.route('/')
@unity.route('/login') @unity.route('/login')
def login(): def login():
redirect_uri = url_for('authorize', _external=True) redirect_uri = url_for('unity.authorize', _external=True)
return oauth.unity.authorize_redirect(redirect_uri) return oauth.unity.authorize_redirect(redirect_uri)
@unity.route('/authorize') @unity.route('/authorize')
...@@ -83,5 +83,5 @@ v_unity_package = { ...@@ -83,5 +83,5 @@ v_unity_package = {
class UnityIntegrationPlugin(AirflowPlugin): class UnityIntegrationPlugin(AirflowPlugin):
name = "unity_integration" name = "unity_integration"
appbuilder_views = [v_unity_package] appbuilder_views = []
flask_blueprints = [unity] flask_blueprints = [unity]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment