Latest Juno Releases

:waving_hand: Hi,

A new release is out - v0.0.59 :rocket:

There was a gazillion commits, but ultimately it all comes down to one big thing: support for native Google authentication.

In brief, devs can now offer their users native Google authentication as following:

  1. Setup a Google project to get a client ID
  2. Config their Satellite
import { defineConfig } from "@junobuild/config";

export default defineConfig({
  satellite: {
    ids: {
      development: "<DEV_SATELLITE_ID>",
      production: "<PROD_SATELLITE_ID>"
    },
    source: "dist",
    authentication: {
      google: {
        clientId: "1234567890-abcde12345fghijklmno.apps.googleusercontent.com"
      }
    }
  }
});
  1. Implement sign-in in their frontend app:
import { signIn } from "@junobuild/core";

await signIn({ google: {} });

and the redirect (until I release support for FedCM as well)

import { handleRedirectCallback } from "@junobuild/core";

await handleRedirectCallback();

That’s it :partying_face:

Once users start signing in, they can view and manage them in the Console which itself as also be upgraded to same login flow.

Let me know if you have questions!


:backhand_index_pointing_right: Blog post announcement: Google Sign-In Comes to Juno | Juno
:backhand_index_pointing_right: Documentation: Authentication | Juno