HUB
Sign inSign up
micro-auth-mock logo

telemark/micro-auth-mock

By telemark

•Updated about 7 years ago

mock auth service

Image
0

1.3K

telemark/micro-auth-mock repository overview

Build Status js-standard-style

⁠micro-auth-mock

Mocks the auth service

⁠config docker.env

JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
ENCRYPTOR_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
SESSION_STORAGE_URL=https://tmp.storage.tjeneste.win

⁠API

⁠GET /login?origin=<url for redirect>
  • returns loginform
  • successful login redirects to origin?jwt=<jwt>
⁠POST /auth

-post username, password and origin

  • successful auth redirects to origin?jwt=<jwt>
⁠GET /?jwt=<jwt>
  • jwt needs userName and origin
  • successful lookup of user redirects to origin?jwt=<jwt>

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

29.8 MB

Last updated

about 7 years ago

docker pull telemark/micro-auth-mock