Sha256: 4e3ec6f6457cd5d491dea92fd768442f4828c5fdfd2810cd3949a4462037778d

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

<p>Вход в систему</p>


<span style="vertical-align: top;">Войти через </span>
<% OauthService::Provider.providers_data.each do |provider| %>
    </br>
	<a 	href="<%= provider.auth_url %>?
		client_id=<%= provider.client_id %>&
		response_type=code&
		redirect_uri=<%= provider.get_redirect_uri(request.original_url) %>
		<% if provider.scopes %>&scope=<%= h provider.scopes %><% end %>">
        Авторизация через <%= provider.name %>
	</a>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oauth_service-0.0.2 test/dummy/app/views/login/index.html.erb
oauth_service-0.0.1 test/dummy/app/views/login/index.html.erb