overhangio / tutor-cairn

Scalable, real-time analytics for Open edX
8 stars 13 forks source link

The request to sign in was denied - SSO Login #27

Closed jjdeezy18 closed 9 months ago

jjdeezy18 commented 10 months ago

Hi,

Just installed Cairn in Tutor version 17.0.0 but having issues during SSO login. Upon checking the Applications under Django OAuth I don't have a created configuration for Cairn.

Not sure what I am missing, hope someone could assist.

Thank you!

FahadKhalid210 commented 10 months ago

Hi @jjdeezy18 , Could you please tell us the steps that you follow? Also add screenshot of issues you are facing during SSO. Typically, the following steps are followed to enable Cairn:

jjdeezy18 commented 10 months ago

Hi @FahadKhalid210 , those were the steps that I did. Plugin is enabled for Cairn.

Please see screenshot below:

SS

Also, I checked the Applications under Django OAuth I don't have a created configuration for Cairn (cairn-sso).

So I am not sure if this is the configuration I am missing.

regisb commented 10 months ago

Did you run tutor local launch? (you should)

jjdeezy18 commented 10 months ago

Hi @regisb,

Tried to redo the installation and managed to make it work. cairn-sso has been added also on Django OAuth Applications. I think I messed up on the order of installing it.

Thank you so much for your help @FahadKhalid210 @regisb !

jjdeezy18 commented 9 months ago

Hi again,

We installed another Tutor version and we are having issues in SSO login of Cairn. -- All settings are defined. -- Done all the installation steps -- All versions are updated

image

Thank you!

FahadKhalid210 commented 9 months ago

@jjdeezy18 have you checked out this? Note: Only staff users have access to login on Superset

jjdeezy18 commented 9 months ago

Hi @FahadKhalid210 ,

Yes, I just did the previous installation and set the user as Staff.

I even did this just to be sure: tutor local do cairn-createuser --admin YOURUSERNAME YOURUSERNAME@YOUREMAIL.COM

FahadKhalid210 commented 9 months ago

Hi @jjdeezy18 As mentioned earlier, please restart the platform after enabling the plugin and attempt to log in again. Additionally, could you kindly check the logs of both the LMS and Superset for any errors or anomalies encountered during the login process? If any errors are present, it would be immensely helpful if you could share them for further analysis.

jjdeezy18 commented 9 months ago

Hi @FahadKhalid210 ,

Thank you for the support, it's working now.