cancel
Showing results for 
Search instead for 
Did you mean: 
marcelo_amorim
Community Member

Google Third-Party Auth Fail

Jump to solution

Hi everybody!

I want to set up a third-party authentication in Canvas using my Google Educational Domain. I followed this tutorial​ and as it seems, it couldn't be easier but, I got an error message saying that Canvas doesn't have any account associated with a User.

I would like to know if anyone here have tried this before and if it worked.

Thanks.

1 Solution

Accepted Solutions
marcelo_amorim
Community Member

To remedy the situation I had to use the Canvas LMS API to create an User Login.

After setting up Google Provider in Authentication tab in Canvas, I did the following:

In the user[id] parameter, I put the same user id from Canvas provider;

Set login[unique_id] with google user address I wanna use to log in;

The login[authetication_provider_id] value needs to be set as "google";

Here is my request body:

Screen Shot 2016-07-21 at 10.15.35 AM.png

After that,  Canvas found the corresponding user id to log in.

View solution in original post

4 Replies
kona
Community Coach
Community Coach

marcelo.amorim​, for this type of technical question I'm going to share this with the Canvas Developers​ and Canvas Admins​ groups to see if they can help.

Also, while the guide you linked to is updated, it might be easier to use the new guides in the Community - How do I configure third-party authentication providers for a Canvas account?

Ok, thank you!

marcelo_amorim
Community Member

To remedy the situation I had to use the Canvas LMS API to create an User Login.

After setting up Google Provider in Authentication tab in Canvas, I did the following:

In the user[id] parameter, I put the same user id from Canvas provider;

Set login[unique_id] with google user address I wanna use to log in;

The login[authetication_provider_id] value needs to be set as "google";

Here is my request body:

Screen Shot 2016-07-21 at 10.15.35 AM.png

After that,  Canvas found the corresponding user id to log in.

View solution in original post

Glad you got it figured out and thank you for coming back and letting the Community know what you needed to do to make it work! Smiley Happy