2022-03-08 19:42:28 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<variables>
|
|
|
|
<variable name="remotes" description="Remote clients needing to verify OAuth2 account" type="domainname" multi="True" provider="oauth2"/>
|
|
|
|
<family name="oauth2_" description="OAuth2 for" dynamic="oauth2.remotes">
|
|
|
|
<variable name="secret_" description="Remote secret for" type="password" mandatory="True" hidden="True" provider="oauth2_secret"/>
|
|
|
|
<variable name="name_" description="Remote name for" hidden="True" provider="oauth2_name"/>
|
|
|
|
<variable name="description_" description="Remote description for" hidden="True" provider="oauth2_description"/>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="category_" hidden="True" provider="oauth2_category"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="login_" description="Remote URL to login" hidden="True" provider="oauth2_login"/>
|
2022-06-24 19:00:16 +02:00
|
|
|
<family name="external_" leadership="True">
|
|
|
|
<variable name="hosts_" description="Remote external for" provider="oauth2_external" multi="True"/>
|
|
|
|
<variable name="family_" hidden="True" provider="oauth2_family">
|
|
|
|
<value>users</value>
|
|
|
|
</variable>
|
|
|
|
</family>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="logo_" hidden="True" provider="oauth2_logo"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="token_signature_algo_" type="choice" description="OAuth2 token signature algorithm" mandatory='True' hidden="True" provider="oauth2_token_signature_algo">
|
|
|
|
<choice>HS512</choice>
|
|
|
|
<choice>RS256</choice>
|
|
|
|
</variable>
|
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username" type="suffix"/>
|
|
|
|
<param name="description">remote</param>
|
|
|
|
<param name="type">cleartext</param>
|
2022-06-24 19:00:16 +02:00
|
|
|
<param name="hide" type="variable">hide_secret</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<target>oauth2.oauth2_.secret_</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|
|
|
|
|