lib/generators/rodauth/oauth/templates/app/views/rodauth/authorize.html.erb in rodauth-oauth-1.2.0 vs lib/generators/rodauth/oauth/templates/app/views/rodauth/authorize.html.erb in rodauth-oauth-1.3.0
- old
+ new
@@ -73,9 +73,12 @@
<%= hidden_field_tag :claims, sanitize(params[:claims]) %>
<% end %>
<% if params[:acr_values] %>
<%= hidden_field_tag :acr_values, params[:acr_values] %>
<% end %>
+ <% if params[:registration] %>
+ <%= hidden_field_tag :registration, params[:registration] %>
+ <% end %>
<% end %>
</div>
<p class="text-center">
<%= submit_tag rodauth.oauth_authorize_button, class: "btn btn-outline-primary" %>
<%= link_to rodauth.oauth_cancel_button, "#{rodauth.redirect_uri}?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request#{"&state=\#{CGI.escape(rodauth.state)}" if params[:state] }", class: "btn btn-outline-danger" %>