dukecon / dukecon_infra

Setup DukeCon Infrastructure
1 stars 1 forks source link

add 'preferences' to the proxy #29

Closed ahus1 closed 7 years ago

ahus1 commented 7 years ago

The URL https://latest.dukecon.org/pwa/javaland/2018/rest/preferences currently returns "404". After this change it should forward the request properly to the Java backend.

After the change is in effect, opening the URL in a browser will redirect to Keycloak to ask for authentication. When used from the HTML5 there will be a bearer token and no redirect.

@ascheman - could you please merge, deploy and test? Thanks!

This is needed to complete https://github.com/dukecon/dukecon_pwa/issues/15

ahus1 commented 7 years ago

I updated the PR - I'm not sure about the API of the server...

I tried to read the code ... is there only one http://localhost:9050/rest/preferences URL in the backend, not one resource per conference? Will one backend instance serve only one conference regarding preferences? Please advise.