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

[TT-657] Move CORS handler from chain to middleware to cover oauth2 endpoints #3462

Merged
merged 1 commit into from Feb 18, 2021

Conversation

furkansenharputlu
Copy link
Member

@furkansenharputlu furkansenharputlu commented Feb 18, 2021

The reason for the move is that the oauth2 handlers don't have a chain in front of it but CORS is in the chain and it is the reason of why oauth endpoints don't support CORS. This PR moves it to routers middleware level to cover all endpoints in an API router.

Copy link
Member

@buger buger left a comment

Choose a reason for hiding this comment

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

Looks solid!

@furkansenharputlu furkansenharputlu merged commit fd1440d into master Feb 18, 2021
@furkansenharputlu
Copy link
Member Author

/release to release-3

@furkansenharputlu
Copy link
Member Author

/release to release-3-lts

@furkansenharputlu
Copy link
Member Author

/release to release-3.1

@tykbot
Copy link

tykbot bot commented Feb 18, 2021

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request Feb 18, 2021
@tykbot
Copy link

tykbot bot commented Feb 18, 2021

@furkansenharputlu Succesfully merged fd1440d5e97ac090e3621e4309192026f1cbfa78 to release-3 branch.

@tykbot
Copy link

tykbot bot commented Feb 18, 2021

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request Feb 18, 2021
@tykbot
Copy link

tykbot bot commented Feb 18, 2021

@furkansenharputlu Succesfully merged fd1440d5e97ac090e3621e4309192026f1cbfa78 to release-3-lts branch.

@furkansenharputlu
Copy link
Member Author

/release to release-3.1

@tykbot
Copy link

tykbot bot commented Feb 18, 2021

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request Feb 18, 2021
@tykbot
Copy link

tykbot bot commented Feb 18, 2021

@furkansenharputlu Succesfully merged fd1440d5e97ac090e3621e4309192026f1cbfa78 to release-3.1 branch.

@furkansenharputlu
Copy link
Member Author

/release to release-3.2

@tykbot
Copy link

tykbot bot commented Feb 18, 2021

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request Feb 18, 2021
@tykbot
Copy link

tykbot bot commented Feb 18, 2021

@furkansenharputlu Succesfully merged fd1440d5e97ac090e3621e4309192026f1cbfa78 to release-3.2 branch.

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.

None yet

3 participants