Skip to content

Conversation

@galenguyer
Copy link
Member

If people go to freshman-packet.csh, SSO redirects them to freshmen-packet.csh, as it should, but this means Flask isn't aware of the previous session, leading to a lot of {"error": "unsolicited_response", "error_description": "No initialised user session."}`. This checks that we're on the configured host before the request proceeds, and redirects to the configured host if we're not.

@galenguyer galenguyer merged commit 4d1aaa5 into ComputerScienceHouse:develop Aug 25, 2022
@galenguyer galenguyer mentioned this pull request Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants