google/googleapis.dart

Embedded Page Personalisation

Open

#118 aperta il 18 nov 2020

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)Dart (133 fork)github user discovery
enhancementhelp wantedpackage:googleapis_auth

Metriche repository

Star
 (419 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hi,

Would it be possible to personalised the default success or error page ?

<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8">
    <title>Authorization successful.</title>
  </head>

  <body>
    <h2 style="text-align: center">Application has successfully obtained access credentials</h2>
    <p style="text-align: center">This window can be closed now.</p>
  </body>
</html>

Also, displaying am personalised "error page" could be great, instead of a 500 error with no message to users and outside our app.

Thank you for this package and your consideration.

Regards

    // TODO: We could introduce a user-defined redirect page.

Just saw the comment, it's a good idea 👍 😆

Guida contributor