some issues of CAS authentication

some issues of CAS authentication

by xing zhang -
Number of replies: 3

i am new guy of moodle. now i have 2 issues about CAS plugin. 

after CAS auth it redirect to user/edit.php page to let me complete user profile. but i am sure my CAS server return all user info. So how can i get all user info from CAS server under moodle?

another question, i find moodle is username based auth, but my CAS allow user input username , email, even mobile number to login. that means moodle cant regard them as same user after CAS login, right? How to make moodle "know" them , just one user.

thanks for help

Average of ratings: -
In reply to xing zhang

Re: some issues of CAS authentication

by MrCasa BLR -

Hello Xing!

Could you share how you solved both issues -

1.  Retrieving email, first name, lastname, userid and such? I also get redirected to a user profile screen after SSO login and they are all black. How do you retrieve the attributes from CAS?

2. How do you login to moodle other than username? Like email / phone?

Also, how do you login as moodle admin?  When I click on moodle login it redirects me to CAS login and how to I make CAS user moodle admin also?