noi-techpark / bdp-core

Open Data Hub / Timeseries Core
https://opendatahub.com
Other
9 stars 4 forks source link

As an EURAC collaborator I want the login on EDP-Portal to be working #265

Closed mrabans closed 1 year ago

mrabans commented 1 year ago

An EURAC collaborator tried to access tier E-Paper Webpage via this page: https://epaper.opendatahub.com/login The user is using the eurac login.. What's happening than is

  1. gets redirected to https://edp-portal.eurac.edu/auth/realms/edp/protocol/openid-connect/auth. This works out how it should.

  2. The serverr at https://edp-portal.eurac.edu/auth/realms/edp/protocol/openid-connect/auth sends back Status Code: 400 Bad Request. The request URL is the Following: https://edp-portal.eurac.edu/auth/realms/edp/protocol/openid-connect/auth?scope=openid&state=q_q0UKBBQAb_3NjZQUZgZI5qTNT_6VK_r6fOEUMOCak.pMdpw4p35g8.HL2rvY9DQJWTp3zLvUK9bA&response_type=code&client_id=OpenDataHub&redirect_uri=https%3A%2F%2Fauth.opendatahub.com%2Fauth%2Frealms%2Fnoi%2Fbroker%2Feurac%2Fendpoint&prompt=login&nonce=5139CRLKPVsLDroHxuXIBA

The error shown on the browser tell us: Invalid Parameter: redirect_uri

The redirect_uri in this case is: https://auth.opendatahub.com/auth/realms/noi/broker/eurac/endpoint This actually looks fine when pasting it into the browser.

However, the redirect_uri never gets reached because the login on the eurac server fails.

(We tested the noi login for this page, and it works how it should)

The redirect URL has to be changed from auth.opendatahub.bz.it to auth.opendatahub.com.