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

Auth #1

Open
dev4jam opened this issue May 9, 2018 · 4 comments
Open

Auth #1

dev4jam opened this issue May 9, 2018 · 4 comments

Comments

@dev4jam
Copy link

dev4jam commented May 9, 2018

Couldn't find any authentication example... Does it mean that all my rules in Firebase should allow access without authentication? Any plans on building user auth part as well?

@vzsg
Copy link
Member

vzsg commented May 11, 2018

Quite the opposite. The package currently uses service account authentication (docs), so for requests originated by Ferno, security rules are disabled. But for regular clients, you can (and should) be as strict as you possible.

@AAAstorga
Copy link
Collaborator

Yeah as @vzsg stated! Since you use the service account, there is no need to have open rules. Ferno will bypass those rules.

@vzsg
Copy link
Member

vzsg commented May 14, 2018

That being said, it might be useful for some use cases to allow manually specifying the access token instead of using the service account.

@AAAstorga
Copy link
Collaborator

Ah yes, I guess if you wanted to only access specific data via a user you can do it with their access token. Will add it to the list of todos

@AAAstorga AAAstorga reopened this May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants