Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Added oauth callback config
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamg9 committed Feb 16, 2024
1 parent 0ffb4a1 commit 5f73e1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions g2p_portal_auth/models/auth_oauth_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 2 additions & 0 deletions g2p_portal_auth/views/auth_oauth_provider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<field name="enabled" position="after">
<field name="g2p_self_service_allowed" />
<field name="g2p_service_provider_allowed" />
<field name="g2p_portal_login_image_icon_url" />
<field name="g2p_portal_oauth_callback_url" />
</field>
</field>
</record>
Expand Down

0 comments on commit 5f73e1f

Please sign in to comment.