I'm using the sdk version and almost get what I want, but it's not clear yet. How can we connect a document account with just one click, like without using any forms or anything. Just a connect button to get tokens and account details using the sdk, no need for any twig or symfony etc. Any help would be greatly appreciated.
P粉5456825002024-04-05 10:02:50
First of all, it sounds like you may need to use JWT instead of authorization code granting. With Auth Code Grant users need to log in with username/password, but you want one click.
JWT requires that you know/provide the userId of the user you are connecting to. I suggest you try quickstart with JWT selected and see if you can get it working first. Then, design a button to perform the same action.