Skip to content
This repository has been archived by the owner on Nov 3, 2017. It is now read-only.

casLogin doesn't recognize CAS userId #9

Open
mmoayyed opened this issue Feb 22, 2013 · 1 comment
Open

casLogin doesn't recognize CAS userId #9

mmoayyed opened this issue Feb 22, 2013 · 1 comment
Assignees
Labels

Comments

@mmoayyed
Copy link
Member

casLogin appears to be defective. I had to modify my local CAS server to allow callbacks to 'http' urls (which is fine) and with that change , once I login to uMobile as admin/admin, for some reason the JS code doesn't recognize the uid and always returns 'guest' even though CAS shows that I have successfully logged in and validated the ticket:

uMobile.js:

  • Looked at CredentialsView in umobile.js and the 'admin' username appears to correctly be saved into the model.

authentication.js;casLogin():

  • On the success callback, the 'credentials.attributes.username' returns admin. However, 'data.user' returns 'guest'?

So it looks like there's a mismatch between credentials model/view where the uid isn't saved into local storage, or something like that...

@ghost ghost assigned mmoayyed Feb 22, 2013
@ChristianMurphy
Copy link
Member

Hey there! 👋

Thanks for opening a ticket with uMobile app phonegap. 👍 🙇‍♂️
The uMobile app phonegap is no longer being actively maintained. ⛔
For alternatives we recommend the uMobile Android App and the uMobile iOS app. ✅

Thanks again for contributing to the uMobile app phonegap! ✨

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants