Hello, I recently installed and started setting up a forum to supplement our training classes. We have an LMS provider for our online-portion that offers single sign on. Myself and one of the techs from that service tried for a while to connect our XF to them and just couldn't quite get it working. I'm fairly new at this stuff so definitely need a bit of a nudge in the right direction.
I looked for a while here trying to find if anyone had/solved this issue and couldn't, so feel free to direct me to somewhere if I did miss it.
Matching up all the required info in the fields in the admin panel and the LMS site, we got as far as getting to the authorization page but once you click authorize you hit an error 500 page.
Trying to run this:
grant_type:authorization_code
code:XXXXXXXXXXXXXXXXXXXXXXXX (I'm assuming best to leave all the actual numbers hidden)
redirect_uri:https://localhost:XXXXX/signin-sb
client_id:XXXXXXXXXXXXXXXXXXX
client_secret:XXXXXXXXXXXXXXXXXXXX
gets us to (https://ourxf2forum.com/api/oauth2/token) and displays the following:
{
"errors": [{
"code": "do_not_have_permission",
"message": "You do not have permission to view this page or perform this action.",
"params": []
}]
}
Do I need to set up an API between them as well to make it work? I'm just trying to figure out why it would be failing, presumably due to these permissions?
Thank you.
I looked for a while here trying to find if anyone had/solved this issue and couldn't, so feel free to direct me to somewhere if I did miss it.
Matching up all the required info in the fields in the admin panel and the LMS site, we got as far as getting to the authorization page but once you click authorize you hit an error 500 page.
Trying to run this:
grant_type:authorization_code
code:XXXXXXXXXXXXXXXXXXXXXXXX (I'm assuming best to leave all the actual numbers hidden)
redirect_uri:https://localhost:XXXXX/signin-sb
client_id:XXXXXXXXXXXXXXXXXXX
client_secret:XXXXXXXXXXXXXXXXXXXX
gets us to (https://ourxf2forum.com/api/oauth2/token) and displays the following:
{
"errors": [{
"code": "do_not_have_permission",
"message": "You do not have permission to view this page or perform this action.",
"params": []
}]
}
Do I need to set up an API between them as well to make it work? I'm just trying to figure out why it would be failing, presumably due to these permissions?
Thank you.