https://supertokens.com/ logo
#support-questions
Title
# support-questions
o

Orszi

07/05/2021, 4:16 PM
Hi @User, I hope you remember my issue, I need to connect one backend with ST with 2 frontend - 2 different user roles, I've updated everything to the newest versions and now I have a problem with how to check on the backend, to which frontend user wants to log in. My idea was to add the field in overwrite signIn funtion
Copy code
override: {
          functions: (originalImplementation) => {
            return {
              ...originalImplementation,
              signIn: async (input) => {
                input.formFields.push({ id: 'appName', value: 'dasdasdasdas' });
                return originalImplementation.signIn(input);
              },
but then I have an error on the frontend:
Are you sending too many / too few formFields?
9 Views