From 5f73e1f92ba7d50d10be548f7cb612abdf860687 Mon Sep 17 00:00:00 2001 From: shivamg9 Date: Fri, 16 Feb 2024 21:36:57 +0530 Subject: [PATCH] Added oauth callback config --- g2p_portal_auth/models/auth_oauth_provider.py | 2 ++ g2p_portal_auth/views/auth_oauth_provider.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/g2p_portal_auth/models/auth_oauth_provider.py b/g2p_portal_auth/models/auth_oauth_provider.py index eccf677..46b79af 100644 --- a/g2p_portal_auth/models/auth_oauth_provider.py +++ b/g2p_portal_auth/models/auth_oauth_provider.py @@ -10,3 +10,5 @@ class G2PSelfServiceOauthProvider(models.Model): g2p_service_provider_allowed = fields.Boolean( "Allowed in Service Provider Portal", default=False ) + g2p_portal_login_image_icon_url = fields.Text() + g2p_portal_oauth_callback_url = fields.Char() diff --git a/g2p_portal_auth/views/auth_oauth_provider.xml b/g2p_portal_auth/views/auth_oauth_provider.xml index 9f7f7cd..22c01d4 100644 --- a/g2p_portal_auth/views/auth_oauth_provider.xml +++ b/g2p_portal_auth/views/auth_oauth_provider.xml @@ -8,6 +8,8 @@ + +