How i can get the generated token from authentication-oidc.token-endpoint = https://login.***.gr/token and pass it to authentication-oidc.user-info-endpoint = https://api.***.gr/profile
i see the logs files that can't access the api because i don't have any option how to post token to api url Στις Τετάρτη 17 Απριλίου 2024 στις 7:26:57 μ.μ. UTC+3, ο χρήστης Χρήστος Κατσάνης (Χρήστος) έγραψε: > Hey the end points: > authentication-oidc.authorize-endpoint = https://login. > ***.gr/authorization > authentication-oidc.token-endpoint = https://login.***.gr/token > authentication-oidc.user-info-endpoint = https://api.***.gr/profile > authentication-oidc.redirect-url = ${dspace.server.url}/api/authn/oidc > authentication-oidc.scopes = profile > > all this above are correct. I have checked with my teacher but i see the > error: > > Whitelabel Error Page > > This application has no explicit mapping for /error, so you are seeing > this as a fallback. > Wed Apr 17 19:14:50 EEST 2024 > There was an unexpected error (type=Unauthorized, status=401). > Authentication failed! > Στις Τετάρτη 17 Απριλίου 2024 στις 6:59:57 μ.μ. UTC+3, ο χρήστης Michael > Plate έγραψε: > >> Hi, >> >> Am 17.04.24 um 15:57 schrieb Χρήστος Κατσάνης (Χρήστος): >> > Hey, i m trying to create a login atemp with my university site with >> > oidc but i have some difficults with endpoint on my server. >> > >> > i have /server/api/authn/oidc as endpoint at gives me a message error >> 401 >> > the endpoint /server/api/authn/login gives me 404 >> > >> > i can't understand what was wrong >> >> you need the endpoint of the oAuth server from the university to use it, >> the realm, a client-id and a secret. See the >> [dspace]/config/modules/authentication-oidc.cfg . >> >> Usually you can obtain some information (not the client-id, not the >> secret) from >> https://<your-oauth-server>/auth/realms/<your-realm>/.well-known/openid-configuration >> >> >> in JSON. >> >> CU >> >> Michael >> >> -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/e31a904a-666d-4c7e-842a-4179dc3cdf65n%40googlegroups.com.