Hi.
I get 500 error code after opening registration url.

Dev tools tells me that csrf and api requests are blocked.
Details:
csrf
Request URL: http://localhost:8080/server/api/security/csrf
Referrer Policy: strict-origin-when-cross-origin
status: blocked:other

api
Request URL: http://localhost:8080/server/api
Referrer Policy: strict-origin-when-cross-origin
status: blocked:other

My dspace config files:
Dspace frontend / ui config:
ui:
    ssl: false
    host: localhost
    port: 4000
    nameSpace: /

rest:
    ssl: true
    host: dspace.ansbb.edu.pl
    port: 443
    nameSpace: /server

Dspace backend config:
dspace.server.url = https://dspace.ansbb.edu.pl/server
dspace.server.ssr.url = ${dspace.server.url}
dspace.ui.url = https://dspace.ansbb.edu.pl
rest.cors.allowed-origins = ${dspace.ui.url}

As far as i can tell the request URL should be 
https://dspace.ansbb.edu.pl/server/api/security/csrd, not 
http://localhost:8080/server/api/security/csrf.

Can you tell me what to change in config files?

-- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/7674ba26-d8b6-4800-b3b4-ec5112c32ab4n%40googlegroups.com.

Reply via email to