-
Notifications
You must be signed in to change notification settings - Fork 745
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
Issue when accessing /user #130
Comments
Same Issue on point 2 regarding the '/user' |
Facing exactly the same two issues as @NaegelCy. Thirdly, when I comment out the
it reaches the /user endpoint below, but
|
for me it is working fine for github but for google the authentication is not working. Here are the steps to reduce
is it working for anyone for google OAuth2 server ? |
Issue on point 2 regarding the '/user',because below the javascript run with index.html load <script type="text/javascript">
$.get("/user", function(data) {
$("#user").html(data.name);
$(".unauthenticated").hide()
$(".authenticated").show()
});
</script> And for backend server config, endpoint '/user' not in permit list, then return http status 401 http
.authorizeRequests(a -> a
.antMatchers("/", "/error", "/webjars/**", "/oauth2/**").permitAll()
.anyRequest().authenticated()
)
.exceptionHandling(e -> e
.authenticationEntryPoint(new HttpStatusEntryPoint(HttpStatus.UNAUTHORIZED))
) |
Hi folks,
I have followed the tutorial step by step and it is really instructive.
However I have 2 concerns :
Best regards,
Cyril
The text was updated successfully, but these errors were encountered: