https://github.com/tanguilp/mob_push_auth
Elixir / Phoenix demo of Web Push Notification used for user authentication
https://github.com/tanguilp/mob_push_auth
authentication webpush-notifications
Last synced: 3 months ago
JSON representation
Elixir / Phoenix demo of Web Push Notification used for user authentication
- Host: GitHub
- URL: https://github.com/tanguilp/mob_push_auth
- Owner: tanguilp
- Created: 2020-08-23T06:01:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T11:36:03.000Z (over 2 years ago)
- Last Synced: 2025-01-27T10:43:43.857Z (4 months ago)
- Topics: authentication, webpush-notifications
- Language: Elixir
- Homepage:
- Size: 325 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MobPushAuth
This is a demo Phoenix app that shows how to use Web Push notification
to authenticate users.The flow involves 2 steps:
1. Registration: on a computer, a user opens a QR code on his/her phone. The
user accepts push notifications to be sent on his/her phone
2. Authentication: on a computer, the user enters his/her login. A web push
notification is sent to his/her phone with a link. The link opens a web
page asking for authentication confirmation. Upon acceptance, the user is
authenticated on the computer[Demo video](https://vimeo.com/798029707)
This demo is deployed on
[https://mob-push-auth.onrender.com/](https://mob-push-auth.onrender.com/).
This is a free tiers and it can take a few minutes to start.This is **not ready** for production use. Security model is not documented.
That's just about sharing ideas :)## Support
As of February, 2023:
- doesn't work on iOS (support for Web Push Notifications on iOS planned for 2023)
- works on Android with Chrome
- doesn't work with Android and Firefox or Mi Browser