Add Connection
Adding Multiple Github Connections to User Accounts
π¨βπΌ Now we want users to be able to add new connections from
their page.
The rules are pretty simple... If there is no existing connection, but there is
a user authenticated, then create the connection, and send them to the
connections page with a toast message letting them know it was successful.
Because we already handled error cases before, this should be a quick one!
π§ββοΈ I've updated the
code
in to be for a GitHub
user that doesn't have a connection yet. You can use this to test your code.
If you want to test another user, then change the
code and you should be set.