Skip to content

Test docker-compose set-up to show passwordless login to web application via Portier

License

Notifications You must be signed in to change notification settings

guangie88/portier-on-prem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portier on Premise

Test docker-compose set-up to show passwordless login to web application via Portier.

Requirements

  • Docker
  • docker-compose

Set-up

Simply run:

docker-compose up -d

This brings up the following services:

  • redis, required by Portier to prevent timing attacks
  • mailhog, a testing SMTP service with web UI to receive emails for the magic links
  • portier-broker, reference implementation for Portier protocol to perform passwordless logins
  • porter-rp, a testing Relying Party web application to demo the passwordless login. This represents your client web application that uses Portier for the passwordless login.

To test out the demo, open your web browser and navigate to http://localhost:8000.

Enter any email address; dummy addresses work just as fine.

Next navigate to http://localhost:8025 and find the email with the magic link. Click on the magic link to perform the passwordless login.

If everything works fine, you should now be redirected back to localhost:8000 with a verified login.

About

Test docker-compose set-up to show passwordless login to web application via Portier

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages