rwth-acis / mobsos-surveys

A simple survey management service and Web application, being part of the MobSOS toolkit.
Other
7 stars 10 forks source link

Frontend no sign in button #56

Open ChenkunZhang opened 1 year ago

ChenkunZhang commented 1 year ago

There is no openID connect button on the right corner.

Reproduce the step:

  1. launch http://localhost:8080/mobsos-surveys
  2. or through the website https://git.tech4comp.dbis.rwth-aachen.de/mobsos-surveys/surveys front end
ChenkunZhang commented 1 year ago

I could not get it. When I launch the service, there is an error in OpenID connection:

OpenID Connect Provider https://api.learning-layers.eu/o/oauth2 unreachable! Make sure to set a correct OpenID Connect Provider URL in your las2peer Web Connector config! WebConnector will now run in OIDC agnostic mode. Could not retrieve a valid OIDC provider config from https://api.learning-layers.eu/o/oauth2!

but the OpenID Provider is correct in the WebConnector.prop.

lakhoune commented 1 year ago

You need to switch to https://auth.las2peer.org/auth/realms/main

FBasels commented 1 year ago

We could think about switching to our OIDC button (https://github.com/rwth-acis/openidconnect-signin) instead of the self written one we have here. At the moment, the new version is in the oidc_rework branch, but hopefully can be merged in master in the next weeks.