Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 548 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 548 Bytes

<serverless-auth> with Polymer 2

Authentication for aws serverless apis using aws

<serverless-auth
    id="auth"
    api-endpoint="https://apiid.execute-api.eu-central-1.amazonaws.com/stage"
    google-client-id="294470285834-cu6ubptede4g34le8s7jr43j4hnk3921.apps.googleusercontent.com"
    region="{{_region}}"
    access-key-id="{{_accessKeyId}}"
    secret-key="{{_secretKey}}"
    signed-in="{{signedIn}}"
    loading={{loading}}
    session-token="{{_sessionToken}}"></serverless-auth>
this.$.auth.googleSignIn();