Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not acquire SSO token #38

Closed
dgcntrk opened this issue Jun 15, 2020 · 31 comments
Closed

Can not acquire SSO token #38

dgcntrk opened this issue Jun 15, 2020 · 31 comments

Comments

@dgcntrk
Copy link

dgcntrk commented Jun 15, 2020

Hey there, I am trying to login to moodle but even when I try manual or automatic sso token it never works. Can you please help?

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

Ok after looking at the previous issues I was able to get the token but now I am getting this error. Even after I get a new token it gives this error.
Screen Shot 2020-06-15 at 2 33 01 PM

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 15, 2020

Did you set the token manual or automatic?

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

tried auto, didn't work then set it manually

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 15, 2020

The error says that the token is invalid. But somehow you managed to get a token so it should working. Does the moodle app on Android or IOS work?

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

yes

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 15, 2020

So you can try to set the token fully manually. Its a bit complicated but we discussed it here:
#4 (comment)

If you can not follow the description or it does not work, we can discuss the problem again.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 15, 2020

What moodle version do you have?

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

should be 3.8 if Im not wrong but is there a way to check it for sure

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

even after I edit manually still the same error man :/

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 15, 2020

Ok, thats fine. Does your moodle allow guest registrations, so I can test it?

It is printed in the terminal if you try to aquire a sso token.

You can check it by read the newest version in your moodle changelog: https://your.moodle.de/lib/upgrade.txt

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

can I send you the guest access privately?

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 15, 2020

Sure, I will test it tomorrow. You should find my email adress in my profil description.

@dgcntrk
Copy link
Author

dgcntrk commented Jun 15, 2020

Thank you. Waiting :)

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 17, 2020

Try the new release btw. there was a change on the sso url

@dgcntrk
Copy link
Author

dgcntrk commented Jun 17, 2020

tried but still token invalid :/

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 17, 2020

So then to help you more I need more details, what exactly you did. I have send you an email, you can answer at any time.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 17, 2020

I have a new idea. If the mobile app works for you, then you can extract the token from the app. I will wirte a tutorial tomorrow.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 18, 2020

Please try this: https://github.com/C0D3D3V/Moodle-Downloader-2/wiki/Copy-a-token-from-the-Moodle-app

I hope this finally helps

@dgcntrk
Copy link
Author

dgcntrk commented Jun 18, 2020

Thanks a lot It's been a busy week couldn't really give you much information but definitely will look into it asap.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jun 21, 2020

Just let me know when you've tested it.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 1, 2020

It should take you only 5 minutes :D

@dgcntrk
Copy link
Author

dgcntrk commented Jul 1, 2020

Sorry about that. It's still not working. If you want I'm up for a virtual meeting :)

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 4, 2020

I have sent you my skype name (same as my email address). You may contact me as soon as you have time.

@artaeun
Copy link

artaeun commented Jul 5, 2020

the tutorial does not work with sso login unfortunately. I am also experiencing problems with token acquisition. Is there any solution to this?

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 5, 2020

Can you specify what is not working?

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 5, 2020

It works for me.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 5, 2020

The issue is not that he does not get a token but that this token does not work. If you don't get a token then please open a new issue with the details of what kind of error you get and what moodle you are using...

@artaeun
Copy link

artaeun commented Jul 5, 2020

sorry for the lack of details. Here's what what happened:

  • Doing it automatically hangs on the instructions:
    image
    I tried it from both latest Firefox and from Google Chrome.

  • Doing it manually by following the instructions took me to the token code, but once I input the address from the developer console and try starting the code i get this:
    image
    Translated from italian : the token is not valid/was not found.

  • Doing it from the tutorial, after inserting the link to the moodle I'm using, it does not prompt SSO login, thus fails to loginwith my user credentials.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 5, 2020

Mh, yes seems to be the same or a similar problem. You can also contact me via skype. My username is my email address, you should find it on my profil.

@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 9, 2020

In principle I have to rely on your support around the topic SSO, because none of the universities I have access to offer SSO in combination with the Moodle app.

I can only test very few specialties with my own test Moodle. Without you, I can't get these problems solved.

C0D3D3V pushed a commit that referenced this issue Jul 12, 2020
@C0D3D3V
Copy link
Owner

C0D3D3V commented Jul 13, 2020

I close the issue now, if anyone else has a problem getting or using their SSO token, please open a new issue.

@C0D3D3V C0D3D3V closed this as completed Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants