Email: api@teamwork.com
Contact us
Need more information? Get in touch with us – we love to chat
Logging in using Teamwork.com just got easier! You can now use our new public component to allow users to login via their Teamwork.com account to your app or service. This works hand in hand with our app login flow. As a Teamwork.com 3rd party developer, you can now avail of this new feature!
In order to use this:
After you have created an app, and you are ready to build the sign in process, you can navigate to our GitHub repository. You’ll see here there is two approaches:
Whichever method you go with, you need to add the Teamwork.com button to your template or view by adding:
<teamwork-login-button redirectURI="https://www.example.com/redirect_uri_from_developer_portal" clientID="your_client_id" state="optional_state_parameter" color="slate" size="large" borders="default"/>
The parameters you will pass in, you’ll find in the Developer Portal app screen. The rest are design parameters for the button itself.
redirectURI
clientID
iconOnly
state
color
slate
pink
indigo
white
size
large
medium
small
borders
default
rounded
square
Take this button below:
<teamwork-login-button redirectURI="https://developer.teamwork.com" clientID="clientId123456" state="appstate" color="white" size="large" borders="default"/>
Which renders like this:
Using this button component will kick off the login process as it redirects the user to the launchpad login page. Continue the login process by following our app login flow.
If you have any feedback or suggestions, feel free to contact us at?api@teamwork.com.