You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm completely new to Vaadin. This projects seems to be a good starting point for me because I will need oauth authentication for my project. It runs fine on my machine.
However if I try to change this to Vaadin 18 it doesn't work anymore. I'm using the vaadin generator to create a pom.xml for vaadin 18 and then I basically add the spring-boot-starter-oauth2-client dependency. I also had to change ServletHelper to HandlerHelper in SeucrityConfiguration. It compiles and it starts. However when I click on "Login with Google" there appears a page saying "Could not navigate to 'oauth2/authorization/google'". If I enter the url /oauth2/authorization/google into the browser manually and I hit enter (so basically performing a GET) it works and I'm logged in.
The reason for this seems to be that it tries to POST to the given URL. WIth vaadin 14 it does a GET.
So being new to Vaadin I don't know really what to do... It would be great if you could give me a hint or maybe even create a vaadin 18 version of this project.
Thanks a lot! Regards
Oliver
The text was updated successfully, but these errors were encountered:
Hi
I'm completely new to Vaadin. This projects seems to be a good starting point for me because I will need oauth authentication for my project. It runs fine on my machine.
However if I try to change this to Vaadin 18 it doesn't work anymore. I'm using the vaadin generator to create a pom.xml for vaadin 18 and then I basically add the spring-boot-starter-oauth2-client dependency. I also had to change ServletHelper to HandlerHelper in SeucrityConfiguration. It compiles and it starts. However when I click on "Login with Google" there appears a page saying "Could not navigate to 'oauth2/authorization/google'". If I enter the url /oauth2/authorization/google into the browser manually and I hit enter (so basically performing a GET) it works and I'm logged in.
The reason for this seems to be that it tries to POST to the given URL. WIth vaadin 14 it does a GET.
So being new to Vaadin I don't know really what to do... It would be great if you could give me a hint or maybe even create a vaadin 18 version of this project.
Thanks a lot! Regards
Oliver
The text was updated successfully, but these errors were encountered: