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
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
AFAIK, it's not possible to call "/connect/linkedin"and store the Connection in the JdbcConnectionRepository because there is still not Principal. And the Principal cannot be created without the Connection.
Shouldn't exist an interceptor between the Connection creation and the addConnection? This way it would be possible to create the Principal and then store Connection with userId the JdbcConnectionRepository
ConnectController.java:
public RedirectView oauth2Callback(...) {
Connection<?> connection = connectSupport.completeConnection(connectionFactory, request);
// add interceptor here
addConnection(connection, connectionFactory, request);
}
What are your thoughts?
Regards
Enric
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
AFAIK, it's not possible to call "/connect/linkedin"and store the Connection in the JdbcConnectionRepository because there is still not Principal. And the Principal cannot be created without the Connection.
Shouldn't exist an interceptor between the Connection creation and the addConnection? This way it would be possible to create the Principal and then store Connection with userId the JdbcConnectionRepository
ConnectController.java:
public RedirectView oauth2Callback(...) {
Connection<?> connection = connectSupport.completeConnection(connectionFactory, request);
// add interceptor here
addConnection(connection, connectionFactory, request);
}
What are your thoughts?
Regards
Enric
The text was updated successfully, but these errors were encountered: