Open lucasdf opened 4 years ago
@rafaeldelboni wdyt? I guess we can think about other things too, like using a local db in simul
to cache some data or something like that
Yes, I agree we could have a cache and the flow looks good to me.
I would just add a splashed
in the URL routes (like simul.com/splashed/redirect_uri
) because we will have probably more services like this in the simul
.
I was planning to use pathom
and create resolvers for the splashed api, wdyt about it? Do you this is a over kill? I thought it would help developing the frontend case we decide to use fulcro
.
yes, that's a great idea. so we can reuse this for other projects.
about using pathom
, that sounds fun :+1:
frontendapplication.com/login
Login with Unsplash
buttonhttps://unsplash.com/oauth/authorize
, as documented in https://unsplash.com/documentation#authorization-workflowsimul.com/redirect_uri
containing a query parametercode
.simul
makes a request tohttps://unsplash.com/oauth/token
in order to retrieve the access-token