The steps below outline how to create an HTML/JS page to login with Seismic. The implicit grant flow is most often used when you are creating a web application for your users. The implicit flow will allow users to login via their browser and is intended to be used only for short-term tokens that expire within a few hours.
Before you begin, you must...
Have your client_id
Register the domain of your application with Seismic
Register the URL of your redirect handler with Seismic
The following steps provide an example to have a properly functioning implicit flow
- Host a client page that will prompt users to login (client.html)
- Host a redirect page and register it with Seismic (popup.html)