Firebase auth and Rust

I'm interested in using a Rust with Actix web as a backend for a web project. I was thinking about utilizing Firebase auth for user authentication and authorization. However it seems to only support node, java, python, go or C#. I couldn't find a rest api either. Does that mean these types of services are just not available to Rust or have I overlooked something?

1 Like

It can't realistically be the case that the choice of a particular programming language should be the barrier to using a web-based service. After all, the real business logic happens at the server-side, and a client written in any language has to communicate with it anyway. So there must be a way to do that even with languages for which Google haven't written an official client library.

Isn't this it?

2 Likes

It already has a crate.

1 Like

I can do 90% of what I need on the browser side with JavaScript like logging in, creating accounts and such. But what I need is a way to verify the token on the Rust side. They have this for the JavaScript sdk but I'm not seeing that in the Rest API you linked. If I had that part I think I would be set.

This looks like only a way to talk to a database.

This one seems to have what I need. I wonder how they implemented it? I'll go try it out and report back what I find. Thank you everyone for your help.

Check out the source, then.

2 Likes

It works great! Thanks everyone for your help. I'm on the right track now.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.