Pyfi oauth2 token request fails

Description

When pyfi requests a new token it throws an error.

Snarl log shows:

2015-10-20 05:05:20.569 [error] <0.8834.0> gen_fsm <0.8834.0> in state waiting terminated with reason: no function clause matching snarl_entity_write_fsm:waiting({vnode_error,{function_clause,[{ft_user,add_token,[{1445317520569716119,'snarl@ REDACTED'},{<<"...">>,...},...],...},...]}}, {state,1445317520569716119,<0.2857.0>,<<"REDACTED">>,add_token,snarl_user_vnode,...}) line 156

Removing 'scope': '*' in
https://github.com/project-fifo/pyfi/blob/master/fifo/api/wiggle.py#L319
seems to fix the problem, but my lack of auth means i don't know if this is the proper fix

Environment

None

Assignee

Heinz N. Gies

Reporter

Kevin Meziere

Labels

None

Components

Fix versions

Priority

High
Configure