Auth.wiki() reporting 401 unauthorized

368 views
Skip to first unread message

Vinicius Assef

unread,
Dec 13, 2012, 6:58:34 AM12/13/12
to web2py
Again, about auth.wiki().

It's woking like a charm in localhost, but I'm getting error 401
UNAUTHORIZED in my test environment.

I didn't write a specific view for it, but I allowed generic views to
any host, in db.py.

Is there another configuration I must adjust to auth.wiki() run in a
real server outside localhost?

Teddy Nyambe

unread,
Dec 13, 2012, 7:12:11 AM12/13/12
to web...@googlegroups.com
What is Auth.wiki() there is little or no document on it.

Sent from my iPad

Vinicius Assef

unread,
Dec 13, 2012, 7:17:51 AM12/13/12
to web...@googlegroups.com
Auth.wiki() is the plugin_wiiki embedded into Auth.



On Thu, Dec 13, 2012 at 10:12 AM, Teddy Nyambe <softwa...@gmail.com> wrote:
> What is Auth.wiki() there is little or no document on it.
>
> Sent from my iPad
>
> --
>
>
>

Teddy Nyambe

unread,
Dec 13, 2012, 7:42:38 AM12/13/12
to web2py

And the documentation? I want to build a site based on web2py...

> --
>
>
>

Vinicius Assef

unread,
Dec 13, 2012, 8:10:38 AM12/13/12
to web...@googlegroups.com

Vinicius Assef

unread,
Dec 13, 2012, 8:16:59 AM12/13/12
to web2py
SOLVED.

I registered a new user but, for some reason, Auth.wiki() didn't
authorized me in "wiki_editor" group.

I'll try to reproduce this in localhost.

Massimo Di Pierro

unread,
Dec 13, 2012, 9:36:09 AM12/13/12
to web...@googlegroups.com
The fist registered use is auth_editor automatically but you login with a previous user (created before enabling auth_wiki) you have to use appadmin to make the user editor.

Vinicius Assef

unread,
Dec 13, 2012, 9:43:00 AM12/13/12
to web...@googlegroups.com
Thank you for clarifying. I think it's important to mention that in docs.
> --
>
>
>
Reply all
Reply to author
Forward
0 new messages