Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tdonohue
Copy link
Member

References

Description

Add /api/security/csrf endpoint which can be used to automatically obtain or refresh CSRF token

@tdonohue tdonohue added bug high priority 1 APPROVAL pull request only requires a single approval to merge. labels May 16, 2024
@tdonohue tdonohue added this to the 7.6.2 milestone May 16, 2024
@tdonohue tdonohue added the work in progress PR is still being worked on & is not currently ready for review label May 16, 2024
@tdonohue tdonohue removed the work in progress PR is still being worked on & is not currently ready for review label May 17, 2024
@tdonohue tdonohue added the component: statistics Related to Statistics (Solr or Google Analytics) label May 17, 2024
@tdonohue
Copy link
Member Author

👍 Tested this locally with DSpace/dspace-angular#3063 and it's working the same as it does on main / pre-8.0.

Copy link
Member

@kshepherd kshepherd left a comment

Choose a reason for hiding this comment

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

+1, tested and reproduced the problem in my 7.x local branch then applied this PR, and no longer see a 403 to viewevents. The code and tests look fine.

@kshepherd kshepherd merged commit d47c00a into DSpace:dspace-7_x Jun 29, 2024
@tdonohue tdonohue deleted the port_new_csrf_endpoint_to_7x branch July 1, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 APPROVAL pull request only requires a single approval to merge. bug component: statistics Related to Statistics (Solr or Google Analytics) high priority

Projects

Development

Successfully merging this pull request may close these issues.

2 participants