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

can't login using cli. getting the following error #40

Open
mgudipati-saven opened this issue Jan 8, 2018 · 1 comment
Open

can't login using cli. getting the following error #40

mgudipati-saven opened this issue Jan 8, 2018 · 1 comment

Comments

@mgudipati-saven
Copy link

mgudipati-saven commented Jan 8, 2018

message: null
request:
method: post
redirect: follow
headers:
_headers:
accept:
- application/vnd.api+json
authorization:
- Basic TOKEN
url: https://auth.api.shoutem.com/v1/auth/tokens
follow: 20
compress: true
counter: 0
bodyUsed: false
size: 0
timeout: 0
_raw:
(empty array)
_abort: false
protocol: https:
hostname: auth.api.shoutem.com
port: null
path: /v1/auth/tokens
auth: null
body:
errors:
-
status: 403
title: forbidden
detail:
code: auth_auth_notAuthorized_userAuthenticationError
meta:
trace:
title: forbidden
detail:
code: auth_auth_notAuthorized_userAuthenticationError
status: 403
response:
url: https://auth.api.shoutem.com/v1/auth/tokens
status: 403
statusText: Forbidden
headers:
_headers:
access-control-allow-origin:
- *
content-type:
- application/json; charset=utf-8
content-length:
- 241
etag:
- W/"f1-4OGpjKJfV+fgr1wZCAmYZg"
date:
- Mon, 08 Jan 2018 07:10:26 GMT
connection:
- close
ok: false
body:
_readableState:
objectMode: false
highWaterMark: 16384
buffer:
head: null
tail: null
length: 0
length: 0
pipes: null
pipesCount: 0
flowing: true
ended: true
endEmitted: true
reading: false
sync: false
needReadable: false
emittedReadable: false
readableListening: false
resumeScheduled: false
destroyed: false
defaultEncoding: utf8
awaitDrain: 0
readingMore: false
decoder: null
encoding: null
readable: false
domain: null
_events:
_eventsCount: 4
_writableState:
objectMode: false
highWaterMark: 16384
finalCalled: false
needDrain: false
ending: true
ended: true
finished: true
destroyed: false
decodeStrings: true
defaultEncoding: utf8
length: 0
writing: false
corked: 0
sync: false
bufferProcessing: false
writecb: null
writelen: 0
bufferedRequest: null
lastBufferedRequest: null
pendingcb: 0
prefinished: true
errorEmitted: false
bufferedRequestCount: 0
corkedRequestsFree:
next: null
entry: null
writable: false
allowHalfOpen: true
_transformState:
needTransform: false
transforming: false
writecb: null
writechunk: null
writeencoding: buffer
bodyUsed: true
size: 0
timeout: 0
_abort: false
_bytes: 241
statusCode: 403

If you think this error is caused by bug in the shoutem command, you can report the issue here: https://github.com/shoutem/cli/issues

@shoutem shoutem deleted a comment from banovotz Jan 9, 2018
@Definitely-Not-Vlad
Copy link
Contributor

Hi @mgudipati, it would seem you're using incorrect credentials.

If you utilized the social media login option (Facebook or Google+), you will have to use this to set a new password and use this new password as well as the e-mail associated with the social network you chose to register with in order to log into the Shoutem CLI.

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

2 participants