Badgeyay : Adding tokens for firebase authentication

in #utopian-io7 years ago

Repository

https://github.com/fossasia/badgeyay

image

New Features

  • What feature(s) did you add?
    I've added the feature of creating JSON Web Tokens for the users authenticated using Firebase. Currently the users authenticated using firebase are not given any token, but token is necessary for using the backend functionalities in the application. Therefore I've added it in the project.
  • How did you implement it/them?
    I used FlaskJWT along side firebase authentication to implement this feature. Every time a user is authenticated using firebase, a new request will be send to the backend to genefrate a token for the user. The request will ask for the username of the user and will provide with a JWT with the user and an expiration time embedded into it.

New Projects

  • What is the project about?
    The project is an Open Source Badge Generator made using Python Backend.
  • Technology Stack
    We use Flask and PostgreSQL in backend and EmberJS in the frontend.
  • Roadmap
    We are aiming to make it a complete badge management service.

GitHub Account

Pull Request linked https://github.com/fossasia/badgeyay/pull/831
My Github Account https://github.com/gabru-md
The above mentioned PR is valid for the contribution.

Thank You!

Sort:  

Thanks for the contribution.

While we love everyone that contributes to open source projects, we unfortunately can't reward everyone. Therefore it would be great if you could increase the amount of work when contributing in the future, as the amount of work done in oauthToken.py isn't that much.

As a side note, since this isn't a new project there is no need to include that section in your contribution.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]