Skip to content

Fix login-based authentication and add PKCE support - #180

Merged
edwardsph merged 1 commit into
mainfrom
fix/authentication
Feb 18, 2022
Merged

edwardsph merged 1 commit into
mainfrom
fix/authentication

Conversation

@edwardsph

Copy link
Copy Markdown
Collaborator

CSS is changing its IDP and this uncovered 3 issues:

  • The first /idp/login request failed to include Accept: text/html so might get a JSON response instead of the expected HTML page
  • We assumed the response would be a 302 redirect and looked for a location header but needed to allow an alternative where the response is 200 and the body is a JSON response with the location
  • The token request needed to support PKCE

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.

1 participant