Activities of "krapholo"

Hi @Long.Nguyen,

anything else we could possibly try?

also, we upgraded from version 5.2.1 to version 7.2.2 using the migration guides in the documentation.

The redirect used to work on version 5.2.1.

Hi, the connection strings are correct for both the host and identity server on our side.

Hi @Long.Nguyen yes that is correct the environment app name on our side is different in the environment file was just to display the setting that we are using on our side. The client_id all correlates on our side between what we have on the Db as well as what we have on the settings page. this is the actual client id in our environemnt.ts

Hi @Long.Nguyen,

We are still using Identity server we have not yet migrated to OpenIddict.

our client redirect links have been set on the IDENTITYSERVERCLIENTREDIRECTURIS and IDENTITYSERVERCLIENTPOSTLOGOUTREDIRECTURIS see below images.

However, we are still being redirected to the incorrect login page.

Hi Mahmut,
any feedback on this ticket? I added some new details in the exception message stack trace section

If you're creating a bug report, please include the followings:

  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Identity Server Separated (Angular): Yes
  • Exception message and stack trace: We picked up the below error: which seems to originate from here: is there a configuration to maybe set the return URL? we tried setting the identity post-logout URL but that also does not work.
  • Steps to reproduce the issue:"
  1. Open the home page on http://localhost:4200/
  2. Click on the login lint which navigates the user to http://localhost:4200/account/login
  3. Enter the user name and password then click login which navigates the user back to http://localhost:4200/
  4. Click logout which navigates the user to https://localhost:44336/Account/Login instead of http://localhost:4200/account/login

environment.ts file sample

import { Environment } from '@abp/ng.core';

const baseUrl = 'http://localhost:4200';

const oAuthConfig = {
  issuer: 'https://localhost:44336/',
  redirectUri: baseUrl,
  clientId: 'MyApp_App',
  dummyClientSecret: '1q2w3e*',
  scope: 'offline_access MyApp',
  showDebugInformation: true,
  oidc: false,
  requireHttps: true,
};

export const environment = {
  production: false,
  application: {
    baseUrl,
    name: 'MyApp',
  },
  oAuthConfig,
  apis: {
    default: {
      url: 'https://localhost:44360',
      rootNamespace: 'MyApp',
    },
    AbpAccountPublic: {
      url: oAuthConfig.issuer,
      rootNamespace: 'MyApp',
    },
  },
} as Environment;

Showing 11 to 16 of 16 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11