paulmaddox / aws-vuejs-cognito Goto Github PK
View Code? Open in Web Editor NEWAn example of using AWS Cognito User Pools with Vue.js
License: Apache License 2.0
An example of using AWS Cognito User Pools with Vue.js
License: Apache License 2.0
Can you throw your basic settings for AWS Cognito in the readme or somewhere?
I had a heck of a time getting things set up to work on the AWS side. Could be helpful to others.
Currently looks awful on mobile.
If somebody with more bootstrap tekkers than me wants to submit a PR... great!
Hey, perhaps I missed this in the code.
From the code, you're performing an Implicit Grant Flow (directly getting the token). The problem with AWS Cognito is that the issued token expires in 60 minutes. And there isn't a way to get a new token because promt=none
isn't supported. Is this a problem you've run into in this code? Do you perhaps have any solutions?
aws-amplify/amplify-js#1218
amazon-archives/amazon-cognito-auth-js#92
This is not an issue so pardon me if I have asked this at a wrong place.
I have gone through your example. Once I am authenticated with any provider (ex. Google) then from next time onwards it is directly prompting me to continue to Google and Auto Login working.
Now I have a scenario where my provider is fixed. So can I do authentication in backend and user should land on homepage directly?
Where should I store my aws credentials? The ones used at services/auth.js#L6
Nevermind. I found them.
Cloned your repo and it's not a problem with your code,
However, in my basically copy/pasted impletmentation,
AWS payload only sending back the first character of verification
. Any idea what would cause that? I'm not grasping how AWS cognito is configured to return the state
as verification
.
hello, when i using your https://cognito.demothe.cloud/login , and sign in with google account. i can get the profile page with my information and ID Token. But it has something error, like this: ( t6gychwq8i.execute-api.eu-west-1.amazonaws.com/prod/ping Failed to load resource: the server responded with a status of 500 () ) and response ({"message":"Unauthorized"})
thank you
I've managed to get everything in this to work for my own UserPool except the API Gateway. I've followed the docs, but they're really vague. Like for instance, the Role you create in the second page? Is that for the user creating the API Gateway? Do I have to attach it to the gateway somehow? I'm also not sure how you're generating the response that is being sent from the API Gatway back to module. Any help would be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.