Posted: September 22, 2016 at 1:18 pm
|
I created an Events administrator account, logged in to that use, created the app password, logged in successfully but I get 2 popups stating that I do not have ee_read_events, ee_read_others_events, ee_read_private_events permissions. I double checked that those roles are indeed checked and applied. Thoughts? iOS |
That might be because it’s a server that uses FCGI, in which case your app isn’t authenticating. This can be resolved by forcing the server to allow passing the Authorization http headers, and there’s some instructions on how to do that in the mobile app documentation: https://eventespresso.com/wiki/ee4-event-apps/#troubleshooting |
|
|
Yeah I checked that. Would the system actually login me in even if I did not have the correct permissions to view the events? Like I said – it’s not that I’m getting a user / password wrong error. It’s like the app is not pulling in the correct permissions. Side note: While trying to use your demo I am given this error: http://i.imgur.com/MbppB6a.jpg |
It’d be great if the apps could better detect authentication issues, but they don’t, so that’s where we’re at. re: your side note: You’re trying to use the EE3 demo with an EE4 app. The EE4 app does not work with Event Espresso 3. |
|
|
I just ran curl -I –user *******:******* http://store/wp-json/ to verify that the username and password were accepted. and the I’m getting a 200 and ee_cookie_test is set. I would say that means that the user is logged in but EE is not looking up the permissions. |
It doesn’t mean that. Maybe you can try authenticating the way that the mobile apps authenticate, which is by using the http Authorization header. You can use the Postman app to do an API request to |
|
|
However All the boxes appear to be checked. |
|
I also verified the values were correct of the wp_user_roles in the wp_options table. |
So does that server use FCGI? If so, then you’ll need to make sure the Basic Auth header gets passed. |
|
The support post ‘Mobile App not reading permissions’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.