Skip to content

Issues with GCF/index.md #7

@mshearer0

Description

@mshearer0
  1. Deploy command should be --trigger-http and --runtime=nodejs14 (or swap 14 for more recent version). When deploying need to agree to authorised access to the function.

  2. The property with ac-enabled should have client-id as sample-ac-client (not a repeat of sample-ropc-client) and have the client-secret property set

  3. The sample-acpkce-client has https://www.google.com as its client-secret value instead of sample-client-secret.

  4. The POST commands should have the url in double quotes (at least for windows)

  5. PKCE example: Verifier is mis-spelt as verfier.

  6. Resource Owner example: username=sample-user not sample-username.

  7. PUG file needs updating with GCP region and project values before deployment.

  8. To generate pem key files you can use openssl on command line as:

openssl genrsa -aes256 -out priv.pem 4096
openssl rsa -in priv.pem -pubout > public.pem
openssl rsa -in priv.pem -out private.pem

Last step is needed to remove passphrase which will cause tutorial to fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions