|
322 | 322 | FontSize="14" |
323 | 323 | FontWeight="SemiBold" |
324 | 324 | Margin="0,0,0,8" /> |
325 | | - <TextBlock Text="In your app settings, add this redirect URI:" |
| 325 | + <TextBlock Text="When creating your app, first use this HTTPS redirect URI:" |
326 | 326 | FontSize="12" |
327 | 327 | Foreground="#666666" |
328 | 328 | Margin="0,0,0,4" /> |
329 | 329 |
|
330 | | - <!-- Selectable TextBox for the URL --> |
| 330 | + <!-- HTTPS URL for initial creation --> |
| 331 | + <TextBox Text="https://localhost:5000/callback" |
| 332 | + Style="{StaticResource SelectableTextBox}" |
| 333 | + Margin="0,4,0,8" /> |
| 334 | + |
| 335 | + <TextBlock Text="⚠️ Important: After creating the app, edit it and change the redirect URI to HTTP:" |
| 336 | + FontSize="12" |
| 337 | + Foreground="#FF6B00" |
| 338 | + FontWeight="Medium" |
| 339 | + Margin="0,0,0,4" /> |
| 340 | + |
| 341 | + <!-- Final HTTP URL --> |
331 | 342 | <TextBox Text="http://localhost:5000/callback" |
332 | 343 | Style="{StaticResource SelectableTextBox}" |
333 | 344 | Margin="0,4,0,8" |
334 | | - ToolTip="Click to select all text, then copy with Ctrl+C" /> |
| 345 | + ToolTip="This is the final redirect URI to use after creating your app" /> |
335 | 346 |
|
336 | | - <Button Content="📋 Copy Redirect URI" |
337 | | - Command="{Binding CopyRedirectUriCommand}" |
338 | | - Background="#74C7EC" |
339 | | - Foreground="White" |
340 | | - Style="{StaticResource ModernDialogButton}" |
341 | | - HorizontalAlignment="Left" /> |
| 347 | + <TextBlock Text="This two-step process is required due to Spotify's security policies." |
| 348 | + FontSize="11" |
| 349 | + Foreground="#999999" |
| 350 | + FontStyle="Italic" |
| 351 | + Margin="0,0,0,8" /> |
| 352 | + |
| 353 | + <StackPanel Orientation="Horizontal"> |
| 354 | + <Button Content="📋 Copy HTTPS URI" |
| 355 | + Command="{Binding CopyHttpsRedirectUriCommand}" |
| 356 | + Background="#74C7EC" |
| 357 | + Foreground="White" |
| 358 | + Style="{StaticResource ModernDialogButton}" |
| 359 | + Margin="0,0,8,0" /> |
| 360 | + |
| 361 | + <Button Content="📋 Copy HTTP URI" |
| 362 | + Command="{Binding CopyRedirectUriCommand}" |
| 363 | + Background="#74C7EC" |
| 364 | + Foreground="White" |
| 365 | + Style="{StaticResource ModernDialogButton}" /> |
| 366 | + </StackPanel> |
342 | 367 | </StackPanel> |
343 | 368 | </Grid> |
344 | 369 |
|
|
0 commit comments