In session-auth, is it mandatory for backend to return a User object/ JSON when you test for successfull exchange of session-key or authenticationToken for username and password. I mean exchnage of authenticationToken is happening while reaching /login endpoint while username and password are passed. Now witht the valid authenticationToken I can test any protected endpoint which this user is authorized to reach.
Best answer
Clarification on authentication.
Best answer by ZaneBest answer by Zane
If you’re planning on publishing your integration in the Zapier app directory, you’ll need to configure a “Connected Account Label” - something unique to the user that they can recognize to quickly determine which account they used to connect with your API. A value returned by the auth test request, like a name, or email address, are often used for this and is the often the most convenient way to populate Connected Account Label.
Connected account label in the product:

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.