mirror of
https://github.com/sascha-hemi/SpotifyEsp32.git
synced 2026-03-21 00:04:00 +01:00
Create index.h
File containing HTML content and auth url for login
This commit is contained in:
13
index.h
Normal file
13
index.h
Normal file
@@ -0,0 +1,13 @@
|
||||
const char login_page[] PROGMEM = R"=====(
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>My first web page</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<CENTER>
|
||||
<H1>Spotify Login</H1>
|
||||
<a href="https://accounts.spotify.com/authorize?response_type=code&client_id=%s&redirect_uri=%s&scope=ugc-image-upload playlist-read-collaborative playlist-modify-private playlist-modify-public playlist-read-private user-read-playback-position user-read-recently-played user-top-read user-modify-playback-state user-read-currently-playing user-read-playback-state user-read-private user-read-email user-library-modify user-library-read user-follow-modify user-follow-read streaming app-remote-control">Log in to spotify</a>
|
||||
</CENTER>
|
||||
</BODY>
|
||||
</HTML>
|
||||
)=====";
|
||||
Reference in New Issue
Block a user