Identify is a lil JWT authority application built on Rails and Devise. It is essntially a Rails application consisting only of Devise views, with two important properties:
referrer_url param, if set, so they can be redirected there after sign-inThe idea is that Identify lives on one subdomain of several, such as login.example.com, where app1.example.com and app2.example.com are other apps that use a JWT-authenticated API. Those apps, when app1 (for instance) receives a request with no JWT, the following will happen:
https://login.examples.com?referrer_url=https://app1.example.com.example.com domain.https://app1.example.com per their referrer cookie, which is subsequently deleted.app1.example.com frontend uses its example.com JWT cookie to make backend requests.If the user visits login.example.com directly, with no referrer, then they will arrive at a simple account management menu, once authenticated.
Identify is configured using environment variables. See config/application.rb for available configurations.
Content type
Image
Digest
Size
608.7 MB
Last updated
almost 7 years ago
docker pull xanderflood/identify