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

feat: add functional interceptor #1610

Merged

Conversation

timdeschryver
Copy link
Contributor

This PR adds a functional auth interceptor, so it can be used with the new standalone API.

Part of #1599

@damienbod
Copy link
Owner

LGTM, would love @FabianGosebrink opinion.

@FabianGosebrink
Copy link
Collaborator

FabianGosebrink commented Nov 27, 2022

LGTM as well, thanks @timdeschryver .

This is the interceptor, we have to support the providers in a method as well so that users can use this lib without modules. But this can be another PR.

The PR fails with A14 with a *.d.ts method. Any ideas why this is happening? Thanks :)

https://github.com/damienbod/angular-auth-oidc-client/actions/runs/3554280162/jobs/5970292981#step:9:13

@timdeschryver
Copy link
Contributor Author

That's probably because it's a v15 type.
Let me see what I can do about it tomorrow :)

Thanks for the reviews!

@FabianGosebrink
Copy link
Collaborator

Thank YOU for your work on this! We have to support A14 as well 😑

@timdeschryver
Copy link
Contributor Author

Pfew, it took a bit longer than expected 😅

@FabianGosebrink
Copy link
Collaborator

You are incredible. Thank you so much!

@FabianGosebrink FabianGosebrink merged commit 7e3250c into damienbod:main Dec 7, 2022
@timdeschryver timdeschryver deleted the feat/functionial-interceptor branch December 7, 2022 10:43
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.

3 participants