Skip to content

set up Sidekick authentication #297

Description

@helms-charity

Only those who log into Sidekick should be allowed to publish.
Important to know is we are using document-based configuration for now, so nothing is in the config bus. We need to be able to add email addresses to a spreadsheet that are allowed to author/publish if at all possible.

See https://www.aem.live/docs/authentication-setup-authoring
This page is new to me but maybe has useful info: https://www.aem.live/docs/sidekick-security

I can see we have some sidekick settings here:
https://admin.hlx.page/sidekick/aemsites/idfc/main/config.json


Steps from Dave:

  1. Authenticate here - https://admin.hlx.page/auth/adobe
  2. Then check this config - https://admin.hlx.page/config/aemsites/sites/idfc.json
  3. If you don't see a json - ask in the AEM Dev channel for someone to grant you admin access
  4. ALWAYS do a get of that json first so you can copy from it.
  5. add author + publish users
  6. do a post back
  7. try to login to sidekick

https://admin.hlx.page/auth/adobe/ack?code=eyJhbGciOiJSUzI1NiIsIng1dSI6I....
Image

then I retried the login and it worked!
9. have customer give me the items for this json for CDN https://www.aem.live/docs/setup-byo-cdn-push-invalidation-for-akamai
"host": "{production host}",
"type": "akamai",
"endpoint": "{akamai host}",
"clientSecret": "{client_secret}",
"clientToken": "{client_token}",
"accessToken": "{access_token}"

  1. need to add URLs to the new cdn part
"cdn": {
    "prod": {
      "host": "www.ingredion.com",
      "type": "managed"
    },
    "live": {
      "host": "main--ingredion--aemsites.aem.live"
    },
    "preview": {
      "host": "main--ingredion--aemsites.aem.page"
    },
    "review": {
      "host": "preview.ingredion.com"
    }
  },
  1. I need to set up an etc/hosts file (Dave has a ticket - 1 line). CDN Configuration - Dispatcher Changes ingredion#537

Metadata

Metadata

Assignees

No one assigned

    Labels

    WaitingThis issue is waiting on something (probably customer)documentationImprovements or additions to documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions