Giter Club home page Giter Club logo

abp.loginui's People

Contributors

gdlcf88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

abp.loginui's Issues

Facebook: Redirects to localhost

Hi,

  1. I have a fresh ABP 7.1.0 installation, installed using abp new MyApplication -u angular -d ef -dbms MySQL
  2. Created the DB, ran the DB migrator, confirmed ABP tables and data were created
  3. Ran it successfully - Swagger shows, no errors in log file (https://localhost:44343)
  4. I opened up my *HttpApiHostModule.cs file
  5. I followed the documentation from Microsoft: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/social/facebook-logins?view=aspnetcore-7.0
  6. I used ngrok for a public address and added that address to Facebook redirect config
  7. I added your nuget package EasyAbp.Abp.LoginUi.Web and the module dependency

The facebook icon shows when I go to https://localhost:44343/account/login

But when I click it, it doesn't redirect to my configured ngrok address in item 6), it always redirect to my local address

Part of the URL parameters have the following:

scope=email,public_profile&response_type=code&redirect_uri=https%3A%2F%2Flocalhost%3A44343%2Fsignin-facebook

It says: Sorry, something went wrong. (see screenshot below)

Did I miss something?

I have done and redone this several times.

Do I have to manually specify the redirect URL?

image

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.