Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit to authenticate to the HL API doc using the session cookie #18301

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

Instead of using the remember_me cookie, I p^ropose to use directly the session cookie for the HL API doc authentication. It fixes #18299.

@cconard96 cconard96 self-requested a review November 13, 2024 16:47
Copy link
Contributor

@trasher trasher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are broken

@cedric-anne cedric-anne marked this pull request as draft November 14, 2024 07:43
@cedric-anne
Copy link
Member Author

As said in the failing test comment it should be rewriten:

public function testOAuthAuthCodeGrant()
{
// Not a complete end to end test. Not sure how that could be done. Should probably be using Cypress.

I do not have time to do it right now, so I put back this PR status to draft

@cedric-anne cedric-anne force-pushed the 11.0/fix-hlapi-authentication branch from 5181046 to 962707c Compare November 18, 2024 14:57
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.

API HL documentation authentication depends on the remember_me feature activation
3 participants