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

Access to shared page with CAS auth #8

Open
elenel opened this issue Nov 14, 2014 · 3 comments
Open

Access to shared page with CAS auth #8

elenel opened this issue Nov 14, 2014 · 3 comments

Comments

@elenel
Copy link

elenel commented Nov 14, 2014

Hello
We have a CAS auth (plugin CAS from Patrick POLLET)
As mentioned in the documentation, we modified the login.tpl template sideblock and removed the regular username/password entry boxes as we are 100% CAS
We have the following issue : when a user share a page, the generated email like 'http://eportfolio.unicaen.fr/mahara/htdocs/view/view.php?id=20258' redirects to a page with the internal auth sideblock (if we're not connected to mahara yet).
See screenshot: http://awesomescreenshot.com/0123t2h2bf
As a consequence, the user can't connect.
Thanks
BR
Emilie LENEL

Nous avons une authentification en CAS (plugin CAS Patrick Pollet)
Comme indiqué sur la doc, on a modifié le sideblock's template login.tpl et remove the regular username/password entry boxes if you are 100% CAS
Problème, lorsque des utilisateurs partage une page avec quelqu'un, l'email généré du type http://eportfolio.unicaen.fr/mahara/htdocs/view/view.php?id=20258
renvoie (si on est pas déjà connecté à Mahara) vers une page avec boite auth interne.. http://awesomescreenshot.com/0123t2h2bf
Du coup, il n'arrive pas à se connecter.

@patrickpollet
Copy link
Owner

Hello

Oups, doc was uncomplete. You must also customize the template theme/raw/templates/login.tpl in your theme directory (theme/mytheme/templates) and edit it to add a link to {$WWWROOT}/auth/cas/index.php
Cheers.

@chrisptree
Copy link

I am new to mahara, and I want to know what did you mean with 100% cas? Is it the cas is enabled for the complete site (with all instances)?

@elenel
Copy link
Author

elenel commented Oct 13, 2015

Hello
By 100% CAS, i meant that our users can only log into our Mahara with the CAS authentification (directly on mahara or via Moodle mnet)

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