Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Getting a login page #20

Open
jfelix76 opened this issue Feb 15, 2018 · 1 comment
Open

Getting a login page #20

jfelix76 opened this issue Feb 15, 2018 · 1 comment
Assignees

Comments

@jfelix76
Copy link

I have combed over your directions. I have solved most of my issues by rereading your post. Very thorough. But I have an angular 5 app integrated with your Spring Boot example. When I request the url I have configured I immediately get a login page. Cant seem to get around this issue. Any clue what Im doing wrong?

@swaechter
Copy link
Owner

Hey Felix

No mistake from your side - it's from my side. At the moment it is just not properly implemented because I am still not 100% sure what the best way is. The problem in short:

  • You are authenticated by the Spring Boot/the Java web framework
  • All HttpClient requests in your Angular application during server side are done by Node.js - and Node.js hasn't the authentication (Session/Cookie/Token etc.) from Spring Boot

This means I have to find a solution to a.) Pass down all information to Node.js (which is insecure) or b.) Reroute all Http requests back to Java (More complicated but secure).

I was thinking about that problem since January and finally found the time to open a feature request in angular/angular: angular/angular#22443

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

No branches or pull requests

2 participants