-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Page: /start/getting-started/auth/q/integration/angular
Feedback:
I think your auth tutorial for angular is missing steps.
#1) the create auth -
for me, amplify push results in error.
Following resources failed
Resource Name: UpdateRolesWithIDPFunction (AWS::Lambda::Function)
Event Type: create
Reason: The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 5eadfda3-6511-42c9-bc0f-72a8fc99746e; Proxy: null)
Indeed the amplify/auth/*yaml has auto generated a reference to nodejs8.10...
changing it by hand to nodejs12.x in the file and re-running amplify push does not fix issue.
I assume I'll find a fix for the above - moving on to the next step
#2) create UI
your text make reference to aws-exports.js
"Amplify Framework has an authentication UI component we can use that will provide the entire authentication flow for us, using our configuration specified in our aws-exports.js file."
my aws-exports.js has no reference, and no text explaing what to set or how to set it is made...
the example jumps into "add this code to component.html" and you're done...
your tutorial reads...
"Add the amplify-authenticator component to the top of src/app/app.component.html"
following - I do so - and if I didn't notice the comment in the code to place previous code I wouldnt have.
#3) "In this example, you used the Amplify Angular UI library and the amplify-authenticator component to quickly get up and running with a real-world authentication flow."
Did we? I dont recall installing amplify-authenticator?? were we supposed to? it is only mentioned here at the end...
you need to have someone who has NEVER done amplify - review your tutorials step by step.
I still cant get auth working - following your tutorial step by step.