DropshippingApp-Get-Allegro.../views/index.ejs

33 lines
842 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Prosta apka do generowania tokenów do API Allegro i Google Sheets API</title>
<link rel='stylesheet' href='/stylesheets/style.css'/>
</head>
<body>
<a href="https://allegro.pl/auth/oauth/authorize?response_type=code&client_id=9426c5af899d4de9a513242a8bd9c955&redirect_uri=https://dropshipping.xaos.ninja">Get
allegro tokens</a>
<h2>Access Token: </h2>
<p><%= allegro_access_token %></p>
<h2>Refresh Token:</h2>
<p><%= allegro_refresh_token %></p>
<br/><br/>
<a href="<%= google_auth_url %>"> Get Google API Docs Tokens </a>
<h2>Tokens data:</h2>
<p> <%= google_tokens_json %></p>
<br/><br/>
<% if (google_tokens_json) { %>
<p>W przypadku danych od Google trzeba skopiować cały ten JSON bo na tej podstawie token jest odświeżany w
aplikacji</p>
<% } %>
</body>
</html>