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

angular UserService #1102

Open
dampergud1 opened this issue Jan 25, 2024 · 1 comment
Open

angular UserService #1102

dampergud1 opened this issue Jan 25, 2024 · 1 comment

Comments

@dampergud1
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
a service like there was in the older versions where you could import a service and access logged in users name etc

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@JasonFoglia
Copy link

@dampergud1 a possible way to set something up like this is to create a ping endpoint and set it up to be authorized.

And in a new authorization service try to ping that endpoint and if an error comes back you're not logged in, else if no error, you're logged in. The only thing left to do is to modify the interceptor to bypass it's error handling when the ping endpoint is seen.

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

No branches or pull requests

2 participants