Giter Club home page Giter Club logo

angular-amazon-cognito's Introduction

Hello everybody, I am Rodrigo Kamada!

๐Ÿ‘จโ€๐Ÿ’ป I am software developer with experience in Node.js (JavaScript/TypeScript), Java, Angular, Bootstrap, Ionic, MongoDB, MySQL, PostgreSQL, Redis, Kafka, Docker and Kubernetes.

โœ๏ธ I am creating content to share my knowledge and help people on their technology journey.

๐Ÿ‘จโ€๐ŸŽ“ Graduated from Computer Sciences in 2005.

โ˜• Coffee and ๐Ÿบ beer lover.

๐Ÿ  Based in Sรฃo Paulo, Brazil.

โญ Acknowledgments

  • AWS Community Builder AWS Community Builder
  • Auth0 Auth0 Ambassador
  • SuperTokens SuperTokens Ambassador

๐Ÿ™Œ Skills

Linux Shell Script Git GitHub Bitbucket Jenkins JavaScript TypeScript Node.js Java HTML5 CSS3 Angular Ionic Bootstrap MongoDB MySQL PostgreSQL Redis Apache Kafka Docker Kubernetes Visual Studio Code

๐Ÿค Social media

Website Email LinkedIn Twitter GitHub GitLab npm StackBlitz HackerRank Stack Overflow Medium DEV Community Hacker Noon Hashnode Substack Polywork Google Developers Speaker Deck Postman Mastodon Dribbble Twitch Instagram Facebook Discord Slack Telegram

๐Ÿค— Sponsor

ko-fi

๐Ÿ“ Latest Posts

angular-amazon-cognito's People

Contributors

rodrigokamada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angular-amazon-cognito's Issues

Closing browser window and opening it again shows log in in upper bar

Hi,

thank you for the great tutorial and example application. It really helped me figuring things out.

But I noticed that if you have successfully logged in and then close the browser window and open it again for the URL http://localhost:4200/profile it will show the Profile page. Which is OK as the Cognito Cookies are stored and your are authenticated, but you see the log in and log out links on the upper bar.

Angular 15 Update

The Typescript update caused build failures in the repo. This requires updates to Amplify and a fix in cognito.service.ts changing line 3 to import { Amplify, Auth } from 'aws-amplify';

This compiles with the following as package.json after running an npm install:

{
  "name": "angular-amazon-cognito",
  "version": "1.0.0",
  "description": "Application example built with Angular 15 with authentication using the Amazon Cognito service.",
  "author": "Rodrigo Kamada <[email protected]> (https://github.com/rodrigokamada)",
  "license": "MIT",
  "private": true,
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "build:prod": "ng build --configuration production --base-href https://rodrigokamada.github.io/angular-amazon-cognito/",
    "watch": "ng build --watch --configuration development",
    "test": "ng test",
    "test:headless": "ng test --watch=false --browsers=ChromeHeadless"
  },
  "dependencies": {
    "@angular/animations": "^15.2.9",
    "@angular/common": "^15.2.9",
    "@angular/compiler": "^15.2.9",
    "@angular/core": "^15.2.9",
    "@angular/forms": "^15.2.9",
    "@angular/platform-browser": "^15.2.9",
    "@angular/platform-browser-dynamic": "^15.2.9",
    "@angular/router": "^15.2.9",
    "aws-amplify": "^5.0.0",
    "bootstrap": "^5.2.3",
    "bootstrap-icons": "^1.10.2",
    "rxjs": "~7.8.0",
    "tslib": "^2.4.1",
    "zone.js": "~0.12.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^15.2.9",
    "@angular/cli": "~15.2.9",
    "@angular/compiler-cli": "^15.2.9",
    "@types/jasmine": "~4.3.1",
    "jasmine-core": "~4.5.0",
    "karma": "~6.4.1",
    "karma-chrome-launcher": "~3.1.1",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.0.0",
    "typescript": "~4.8.4"
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.