lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb in rodauth-oauth-0.8.0 vs lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_application.html.erb in rodauth-oauth-0.9.0

- old
+ new

@@ -12,11 +12,17 @@ <dt><%= rodauth.oauth_applications_redirect_uri_label %>: </dt> <dd><%= oauth_application[rodauth.oauth_applications_redirect_uri_column] %></dd> <dt><%= rodauth.oauth_applications_scopes_label %>: </dt> <dd><%= oauth_application[rodauth.oauth_applications_scopes_column] %></dd> <% if rodauth.features.include?(:oauth_jwt) %> - <dt><%= rodauth.oauth_applications_jws_jwk_label %>: </dt> - <dd><%= oauth_application[rodauth.oauth_applications_jws_jwk_column] %></dd> + <% if oauth_application[rodauth.oauth_applications_jwks_column] %> + <dt><%= rodauth.oauth_applications_jwks_label %>: </dt> + <dd><%= oauth_application[rodauth.oauth_applications_jwks_column] %></dd> + <% end %> + <% if oauth_application[rodauth.oauth_applications_jwks_uri_column] %> + <dt><%= rodauth.oauth_applications_jwks_uri_label %>: </dt> + <dd><%= oauth_application[rodauth.oauth_applications_jwks_uri_column] %></dd> + <% end %> <dt><%= rodauth.oauth_applications_jwt_public_key_label %>: </dt> <dd><%= oauth_application[rodauth.oauth_applications_jwt_public_key_column] %></dd> <% end %> </dl> </div> \ No newline at end of file