Giter Club home page Giter Club logo

Comments (5)

ericclemmons avatar ericclemmons commented on July 28, 2024 3

@foragerr If you're using User Pools then you may better served by a custom "Login with Google" button and calling Auth.federatedSignIn({ provider: "Google"}):

https://aws-amplify.github.io/docs/js/authentication#oauth-and-hosted-ui

Currently, our <amplify-authenticator> supports Identity Pools' configuration, but we're actively investigating supporting both User Pools & Identity Pools without breaking backwards compatibility.

I'm going to update the labels for this accordingly as a feature request so we don't lose track!

from amplify-ui.

foragerr avatar foragerr commented on July 28, 2024

Or perhaps I'm looking for an angular equivalent of this: https://aws-amplify.github.io/docs/js/authentication#google-sample-in-react

from amplify-ui.

jordanranz avatar jordanranz commented on July 28, 2024

Hey @foragerr, to get more context, which angular library are you using? aws-amplify-angular or @aws-amplify/ui-angular?

from amplify-ui.

ddurham2 avatar ddurham2 commented on July 28, 2024

This would have been a courteous statement to make in the docs. I've been hunting docs, code and been confounded for days now. I'm glad to have found this clear statement on the matter.

from amplify-ui.

ericclemmons avatar ericclemmons commented on July 28, 2024

A couple improvements resolve this issue for our @next release:

  1. Social providers use Cognito User Pools by default (via Auth.federatedSignIn), since this is the default social configuration from Admin UI & the CLI.

    Screen Shot 2021-11-05 at 11 40 34 AM
    https://ui.docs.amplify.aws/ui/components/authenticator?platform=react#loginmechanisms

  2. Zero-config support from #626 will make <Authenticator> automatically show the correct login mechanisms (including Google, in your case) without any additional configuration.

from amplify-ui.

Related Issues (20)

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.