asgardeo / asgardeo-auth-react-sdk

To maintain the implementation of Asgardeo React authentication SDK
Apache License 2.0
40 stars 91 forks source link

Issuer Claim Validation Error when not starting IS on default port #196

Closed viggnah closed 1 year ago

viggnah commented 1 year ago

Describe the issue: I started WSO2 IS on port 9500 and followed the instructions on this page. I replaced "baseUrl": "https://localhost:9443" with "baseUrl": "https://localhost:9500" and I got redirected to the Issuer Claim Validation Error page on login.

Note: When I start on 9443 I am able to login properly.

How to reproduce:

  1. Open the deployment.toml file found in the /repository/conf/ directory, and add the following configuration:
    [server]
    offset = 57
  2. Follow the rest of the steps as per this doc
  3. But replace "baseUrl": "https://localhost:9443" with "baseUrl": "https://localhost:9500"

Expected behavior: Successful login

Environment information:

shaouari commented 1 year ago

in Identity Providers -> resident -> Inbound Authentication Configuration-> OAuth2/OpenID Connect Configuration

update the Identity Provider Entity ID value to match your baseurl + /oauth2/token

pavinduLakshan commented 1 year ago

in Identity Providers -> resident -> Inbound Authentication Configuration-> OAuth2/OpenID Connect Configuration

update the Identity Provider Entity ID value to match your baseurl + /oauth2/token

Thanks for posting the solution @shaouari. We will get this added to the docs