Coder Social home page Coder Social logo

mheffner / rails-cognito-example Goto Github PK

View Code? Open in Web Editor NEW
53.0 6.0 20.0 882 KB

Example Rails application demonstrating server-side Cognito User Pools

Ruby 78.20% JavaScript 2.61% CoffeeScript 1.40% CSS 1.57% HTML 14.89% SCSS 1.17% Procfile 0.16%

rails-cognito-example's People

Contributors

dependabot[bot] avatar geshwho avatar mheffner avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rails-cognito-example's Issues

Cognito Sign In asks to confirm sign in as previously signed in user

Not really an issue, but I'm wondering how to force Cognito to require login credentials upon each login request. Using your repository I am forcing a logout prior to the Cognito 1 hour token expiration. This works fine as the cognito_token is deleted. However, when I attempt to sign in via sign in link and the Cognito UI I am presented with a form to either sign in using the previous user just logged out or to click on a link to sign in as another user. Clicking on the button to sign in as a the previous user logs me in without requesting a password or MFA, this is an issue. I am wondering is this is a setting on the Cognito side of things as I can delete the sessions and cognito_sessions and I still encounter this problem. Any help in implementing this will be really helpful. Ultimately my goal is to simply force a signout and require full Cognito authentication once again. Thanks.

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.