mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-16 04:56:05 +00:00
Added new JWKS URL setting for each OAuth provider and updated the associated authorization service to use the setting during the initialization of the authlib.
This commit is contained in:
@ -663,6 +663,17 @@
|
||||
value="{{ SETTING.get('google_authorize_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="google_oauth_jwks_url">JWKS
|
||||
URL</label>
|
||||
<input type="text" class="form-control"
|
||||
name="google_oauth_jwks_url"
|
||||
id="google_oauth_jwks_url"
|
||||
placeholder="e.g. https://{yourDomain}/.well-known/jwks.json"
|
||||
data-error="Please input JWKS URL"
|
||||
value="{{ SETTING.get('google_oauth_jwks_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="google_base_url">Base URL</label>
|
||||
<input type="text" class="form-control"
|
||||
@ -791,10 +802,21 @@
|
||||
name="github_oauth_authorize_url"
|
||||
id="github_oauth_authorize_url"
|
||||
placeholder="e.g. https://github.com/login/oauth/authorize"
|
||||
data-error="Plesae input Authorize URL"
|
||||
data-error="Please input Authorize URL"
|
||||
value="{{ SETTING.get('github_oauth_authorize_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="github_oauth_jwks_url">JWKS
|
||||
URL</label>
|
||||
<input type="text" class="form-control"
|
||||
name="github_oauth_jwks_url"
|
||||
id="github_oauth_jwks_url"
|
||||
placeholder="e.g. https://{yourDomain}/.well-known/jwks.json"
|
||||
data-error="Please input JWKS URL"
|
||||
value="{{ SETTING.get('github_oauth_jwks_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<!-- /.card-body -->
|
||||
@ -915,6 +937,17 @@
|
||||
value="{{ SETTING.get('azure_oauth_authorize_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="azure_oauth_jwks_url">JWKS
|
||||
URL</label>
|
||||
<input type="text" class="form-control"
|
||||
name="azure_oauth_jwks_url"
|
||||
id="azure_oauth_jwks_url"
|
||||
placeholder="e.g. https://{yourDomain}/.well-known/jwks.json"
|
||||
data-error="Please input JWKS URL"
|
||||
value="{{ SETTING.get('azure_oauth_jwks_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>GROUP SECURITY</legend>
|
||||
@ -1206,10 +1239,21 @@
|
||||
name="oidc_oauth_authorize_url"
|
||||
id="oidc_oauth_authorize_url"
|
||||
placeholder="e.g. https://oidc.com/login/oauth/authorize"
|
||||
data-error="Plesae input Authorize URL"
|
||||
data-error="Please input Authorize URL"
|
||||
value="{{ SETTING.get('oidc_oauth_authorize_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="oidc_oauth_jwks_url">JWKS
|
||||
URL</label>
|
||||
<input type="text" class="form-control"
|
||||
name="oidc_oauth_jwks_url"
|
||||
id="oidc_oauth_jwks_url"
|
||||
placeholder="e.g. https://{yourDomain}/.well-known/jwks.json"
|
||||
data-error="Please input JWKS URL"
|
||||
value="{{ SETTING.get('oidc_oauth_jwks_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="oidc_oauth_metadata_url">Metadata
|
||||
URL</label>
|
||||
@ -1217,7 +1261,7 @@
|
||||
name="oidc_oauth_metadata_url"
|
||||
id="oidc_oauth_metadata_url"
|
||||
placeholder="e.g. https://oidc.com/login/oauth/.well-known/openid-configuration"
|
||||
data-error="Plesae input Metadata URL"
|
||||
data-error="Please input Metadata URL"
|
||||
value="{{ SETTING.get('oidc_oauth_metadata_url') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
@ -1270,7 +1314,7 @@
|
||||
<input type="text" class="form-control"
|
||||
name="oidc_oauth_email" id="oidc_oauth_email"
|
||||
placeholder="e.g. email"
|
||||
data-error="Plesae input Email claim"
|
||||
data-error="Please input Email claim"
|
||||
value="{{ SETTING.get('oidc_oauth_email') }}">
|
||||
<span class="help-block with-errors"></span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user