# SSO Callback query starting with '#' instead of '?'

**URL:** <https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874>\
**Category:** Third Party Developers\
**Created:** [May 2, 2018, 4:33pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874 "2018-05-02T16:33:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nexuscrawler](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nexuscrawler/32/170464_2.png) [@Nexuscrawler](https://forums.eveonline.com/u/Nexuscrawler)\
**Post date:** [May 2, 2018, 4:33pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/1 "2018-05-02T16:33:31Z")

</div>

The URL for logging in users I am currently using for testing purposes is **[https://login.eveonline.com/oauth/authorize/?response\_type=token&redirect\_uri=https://127.0.0.1:3000/callback/&client\_id=d6f4e24a6f434544828a2d57e80aa651&state=login](https://login.eveonline.com/oauth/authorize/?response_type=token&redirect_uri=https://127.0.0.1:3000/callback/&client_id=d6f4e24a6f434544828a2d57e80aa651&state=login)**

The response URL I am getting after logging in is **[https://127.0.0.1:3000/callback/#access\_token=token&token\_type=Bearer&expires\_in=1199&state=login](https://127.0.0.1:3000/callback/#access_token=token&token_type=Bearer&expires_in=1199&state=login)**

Is there any specific reason why the response URL has it’s query parameters starting with a hash (#) instead of a question mark (?)? This is kind of annoying because now I have to parse the URL myself because NodeJS can’t figure out where the query starts.

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 2, 2018, 4:41pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/2 "2018-05-02T16:41:14Z")

</div>

You are using implicit flow. Use online flow instead.

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 2, 2018, 4:44pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/3 "2018-05-02T16:44:17Z")

</div>

PS, don’t post access tokens publicly. Anyone can use them.

---

<div class="post-metadata">

**Author:** ![Christy\_Cloud](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/christy_cloud/32/391951_2.png) [@Christy\_Cloud](https://forums.eveonline.com/u/Christy_Cloud)\
**Post date:** [May 2, 2018, 4:48pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/4 "2018-05-02T16:48:05Z")

</div>

Just stopping by to laugh, and reinforce the above. Leaking your own token is no bueno.

---

<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:** [May 2, 2018, 4:55pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/5 "2018-05-02T16:55:11Z")

</div>

EDIT: Yea you are requesting `token` not `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:** [May 2, 2018, 4:56pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/6 "2018-05-02T16:56:47Z")

</div>

The implicit flow does them with a #, so it doesn’t actually hit any log files.

---

<div class="post-metadata">

**Author:** ![Nexuscrawler](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nexuscrawler/32/170464_2.png) [@Nexuscrawler](https://forums.eveonline.com/u/Nexuscrawler)\
**Post date:** [May 2, 2018, 5:18pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/7 "2018-05-02T17:18:47Z")

</div>

Understood, thank you. I am aware of the tokens, but they are only valid for 30 minutes and do not grant access to anything.

I am using the implicit flow to generate a session without any actual scopes. Should I use the online flow without requesting any scopes instead?

**EDIT** : Figured it out, sorry.

---

<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:** [May 2, 2018, 7:18pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/8 "2018-05-02T19:18:54Z")

</div>

They can grant with scopes. so they’re important.

---

<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:** [July 31, 2018, 7:18pm UTC](https://forums.eveonline.com/t/sso-callback-query-starting-with-instead-of/73874/9 "2018-07-31T19:18:59Z")

</div>

Closed on July 31, 2018, 7:18pm UTC

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