bratislava / kupaliska-starz-fe

Buy and manage tickets to swimming pools in Bratislava.
https://kupaliska.bratislava.sk
European Union Public License 1.2
0 stars 0 forks source link

SSO with city-account #43

Closed mpinter closed 1 year ago

mpinter commented 1 year ago

How this works - CITY_ACCOUNT_HOST/sso sends a postMessage to it's parent if opened as an iframe and parent is a valid domain - see here https://github.com/bratislava/konto.bratislava.sk/pull/219. Our "SSO workflow" thus works by letting the use login on the city-account-page, and once that is done, asking this page for an access token through this method, then using the token as needed (and refreshing when needed).

This should also resolve the npm install issue.

github-actions[bot] commented 1 year ago

:partying_face: Bratiska-cli successfully created an kustomize file.

:partying_face: Bratiska-cli successfully built an image from path: . :partying_face: Bratiska-cli successfully created an kustomize file. :partying_face: Bratiska-cli successfully built an image from path: . :partying_face: Bratiska-cli successfully created an kustomize file. :partying_face: Bratiska-cli successfully built an image from path: .