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

unable to sign in #19

Closed
bartmaniac opened this issue Dec 26, 2018 · 17 comments
Closed

unable to sign in #19

bartmaniac opened this issue Dec 26, 2018 · 17 comments

Comments

@bartmaniac
Copy link

**Firefly III Server Version:4.7.9

**Firefly III Mobile Version:1.0.2

**Android Version:8.1.0

**Device Information:

  • BRAND: Huawei
  • MODEL: Nexus 6P

Expected Behavior

Able to login succesfully

Current Behavior

I followed the steps.
On firefly-III I Created a new client under OAuth Clients.
Name: I picked a name
Redirected URL: http://empty
I got an id and a secret key

Back on the android smartphone I choose Oauth Auth and filled in the URL Client ID and Secret fields with the same values as the one in firefly-iii. After pressing Sign in I get

Authentication Failed
Therer was an issue retrieving access token from your Firefly III instance. Ensure you are using http://empty as your redirected URL in your Firefly III config

I am doing this on the same internal network. Firefly III is running on mac os High Sierra, under Docker

Steps to Reproduce

@emansih
Copy link
Owner

emansih commented Dec 27, 2018

The latest version is 1.1.0 though

@bartmaniac
Copy link
Author

I got this release from f-droid telling me i'm [up-to-date.
Where do I find and how to install latest version

Thanks a lot

@emansih
Copy link
Owner

emansih commented Dec 27, 2018

@filoor
Copy link

filoor commented Dec 27, 2018

Hi @emansih,

I have tried the new version and i'm still getting "Authentication Failed"

@emansih
Copy link
Owner

emansih commented Dec 27, 2018

@filoor have you followed the steps found here?

@bartmaniac
Copy link
Author

Does one need to be on the same network where firefly-iii is running? . I am trying this on my smartphone at work over 4G while my pc where firefly-iii is running is at my home and there is no portforwarding setup up

@emansih
Copy link
Owner

emansih commented Dec 27, 2018

Are you able to access firefly from the web browser outside your network?

@bartmaniac
Copy link
Author

I can access firefly from my webbrowser when i am at home. I enter localhost:8081/login and get the login page

@bartmaniac
Copy link
Author

Something is moving
I tried it once more while on the train using 4g and no more Authentication failed error. The firefox android webbrowser opens and the url is

https://www.google.com/search?q=http%3A%2F%2Fempty+%2Foauth%2Fauthorize%3Fclient_id%3D9%26redirect_uri%3Dhttp%3A%2F%2Fempty%26scope%3D%26response_type%3Dcode%26state%3D&ie=utf-8&oe=utf-8&client=firefox-b

@filoor
Copy link

filoor commented Dec 27, 2018

Hi @emansih,

Yes i did follow the steps. I traid my internal ip an also external outside the network

@emansih
Copy link
Owner

emansih commented Dec 28, 2018

Can you guys open a separate issue.......

@bartmaniac I don't think you understand how all these works.

localhost

simply means localhost. It's hosted on your server in an internal Network.

Try this

Open your web browser and access firefly iii on your mobile network.

Are you able to access?

@bartmaniac
Copy link
Author

Probably not I guess. I guess i have to enter an internet ip adress not a local 192.168.0.xx

@emansih
Copy link
Owner

emansih commented Dec 28, 2018

@bartmaniac yes! you are getting onto something

@emansih
Copy link
Owner

emansih commented Dec 30, 2018

@bartmaniac anymore issues?

@bartmaniac
Copy link
Author

well I have no idea how I could make this work. on one hand there is the local firefly database with all the data (running on a local pc with a 192.168.0 .22 ip address and on the other hand the smartphone on a mobile network.

@emansih
Copy link
Owner

emansih commented Dec 30, 2018

Since I assume you are running purely on a local network( no port forwarding, no ports open to outside world), simply ensure that both your PC and phone are on the same network. Then use 192.168.0.22 as the url

@emansih
Copy link
Owner

emansih commented Jan 6, 2019

@bartmaniac are you still having issues?

@emansih emansih closed this as completed Jan 17, 2019
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

3 participants