Open Closed

OpenIdConnect using Xero #2719


User avatar
0
ianbaddock created
  • ABP Framework version: vX.X.X
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no, not tiered
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am currently trying authenticate users in my ABP solution using Xero as the identity server. https://www.xero.com/au/

Their developer docs lists the following guide:

https://github.com/XeroAPI/xero-netstandard-oauth2-samples/blob/master/XeroOAuth2Sample/README.md

When I startup my application, it has the OpenIdConnect button. I click the button and am taken to the Xero login screen when I click the authorise button. I am taken back to my application into the following code:

After the code runs, it just returns back to the login screen. My assumption would be that it would either log the user in, if the external logon user exists, OR go to a register page to create the new user.

ConfigureAuth now looks like this:


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to set the SignInScheme of the AddOpenIdConnect to IdentityConstants.ExternalScheme?

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11