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

refactor: replace authorization custom code with standard ff pipes #393

Merged

Conversation

mericakgul
Copy link
Collaborator

  • Three diffferent adapters for each api (documenten-api, catalogi-api, zaken-api) has been created in order to create authorization token.
  • Each adapter manages one of three auth types which are jwt, basic and value. According to the auth-type, the adapters create the valid token and also creates the Authorization header and returns it in 'Authorization' session key so it can be directly used in other pipes that requires authorization.
  • jwtPipe's have been removed from the adapters it is in and instead, a new pipe which is calling the newly created authorization generator adapter has been added.

@mericakgul mericakgul requested a review from MLenterman June 24, 2024 14:23
@MLenterman MLenterman changed the title Replace authorization custom code with standard ff pipes refactor: replace authorization custom code with standard ff pipes Jun 25, 2024
@MLenterman MLenterman merged commit 1d6671b into master Jun 25, 2024
6 checks passed
@MLenterman MLenterman deleted the GT-1159-Replace-Authentication-CustomCode-With-FF-Pipes branch June 25, 2024 12:07
WeAreFrank-BOT pushed a commit that referenced this pull request Jun 25, 2024
## [1.19.10](v1.19.9...v1.19.10) (2024-06-25)

### 🧑‍💻 Code Refactoring

* replace authorization custom code with standard ff pipes ([#393](#393)) ([1d6671b](1d6671b))
@WeAreFrank-BOT
Copy link

🎉 This PR is included in version 1.19.10 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace remaining custom code for authentication with standard f!f pipes
3 participants