google/googleapis.dart

Embedded Page Personalisation

Open

#118 opened on Nov 18, 2020

View on GitHub
 (1 comment) (2 reactions) (0 assignees)Dart (133 forks)github user discovery
enhancementhelp wantedpackage:googleapis_auth

Repository metrics

Stars
 (419 stars)
PR merge metrics
 (PR metrics pending)

Description

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 👍 😆

Contributor guide