# Can anyone explain me the implicit flow?

**URL:** <https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374>\
**Category:** Third Party Developers\
**Tags:** esi\
**Created:** [August 24, 2018, 1:01pm UTC](https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374 "2018-08-24T13:01:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vex\_Munda](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vex_munda/32/278382_2.png) [@Vex\_Munda](https://forums.eveonline.com/u/Vex_Munda)\
**Post date:** [August 24, 2018, 1:01pm UTC](https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374/1 "2018-08-24T13:01:41Z")

</div>

I found out about the so called implicit flow: [https://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/implicitflow.html#client-side-applications/](https://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/implicitflow.html#client-side-applications/) .

Apparently it is considered very easy. So easy noone bothers to explain / provide an example.

Can anyone show an example and/or explain an implementation of the implicit flow?

---

<div class="post-metadata">

**Author:** ![Vex\_Munda](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vex_munda/32/278382_2.png) [@Vex\_Munda](https://forums.eveonline.com/u/Vex_Munda)\
**Post date:** [August 24, 2018, 1:37pm UTC](https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374/2 "2018-08-24T13:37:04Z")

</div>

I think I got it to work. It is very much like getting the authentication token, except you will get an access\_token ( as opposed to an auth token). I used the following url to redirect:

[https://login.eveonline.com/oauth/authorize?response\_type=token&redirect\_uri=redirectPage&Client\_id=clientId](https://login.eveonline.com/oauth/authorize?response_type=token&redirect_uri=redirectPage&Client_id=clientId)

The redirectPage is supposed to be the page eve should redirect you to.  
The clientId is the client-id you get while registering your app.

Do note that these tokens are only valid for 20 mins. They also can’t be refreshed. The user of your app would have to supply the code every time he wants 20 minutes access. But for testing purposes it works great.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [August 24, 2018, 1:42pm UTC](https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374/3 "2018-08-24T13:42:38Z")

</div>

That is the jist of it yea. Usefulness is limited due to having to reauth every 20min tho. But in the case of a client only project where exposing your client secret isn’t an option it is the better alternative.

You could checkout some of the JWT stuff that is in beta atm: [https://github.com/ccpgames/eveonline-third-party-documentation/blob/master/docs/sso/jwt-beta.md](https://github.com/ccpgames/eveonline-third-party-documentation/blob/master/docs/sso/jwt-beta.md).

Would allow you to get refresh\_token without including your client secret in the code.

---

<div class="post-metadata">

**Author:** ![Steve\_Ronuken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/steve_ronuken/32/373894_2.png) [@Steve\_Ronuken](https://forums.eveonline.com/u/Steve_Ronuken)\
**Post date:** [August 24, 2018, 1:44pm UTC](https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374/4 "2018-08-24T13:44:47Z")

</div>

[https://evemail.fuzzwork.co.uk/](https://evemail.fuzzwork.co.uk/) works with the implicit flow.

Key differences:

The token is returned.  
No refresh token is provided.  
The token is given as an anchor, rather than an parameter (this is to avoid it being sent to the server.)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [November 22, 2018, 1:44pm UTC](https://forums.eveonline.com/t/can-anyone-explain-me-the-implicit-flow/100374/5 "2018-11-22T13:44:50Z")

</div>

Closed on November 22, 2018, 1:44pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
