add oauth2 function

This commit is contained in:
Emmanuel Garette 2022-03-12 07:56:17 +01:00
parent 8009fe9553
commit 1f2328732f

View file

@ -0,0 +1,4 @@
def calc_oauth2_client_external(external, location, *extras):
if not external or not location or None in extras:
return
return f'https://{external}{location[0]}' + ''.join(extras)