Giter VIP home page Giter VIP logo

Comments (12)

burberius avatar burberius commented on June 15, 2024

Does the SsoAuthTest work?
I guess the problem is not the encoding in the URL but #5

from eve-esi.

burberius avatar burberius commented on June 15, 2024

SsoAuthTest uses only one scope, but it should use all!
I will check that.

from eve-esi.

burberius avatar burberius commented on June 15, 2024

According to https://tools.ietf.org/html/rfc6749#section-3.3 it must be space separated.
And it works for me that way, but...

Your problem is that there are 2 more scopes that are not public, the fleet one... :-(

from eve-esi.

Claudweb avatar Claudweb commented on June 15, 2024

If I concatenate them using %20 it works as expected. When using a space as seperate the displayed url contains a + sign instead of the space for me. The space should be converted to %20 when encoding it to a url.

from eve-esi.

burberius avatar burberius commented on June 15, 2024

The + is OK.
I found an example here: https://api.slack.com/docs/oauth-scopes
https://slack.com/oauth/authorize?client_id=...&scope=team%3Aread+users%3Aread

I haven't tried it with refresh though, I only did the auth step.

from eve-esi.

Claudweb avatar Claudweb commented on June 15, 2024

But not for CCP. I tried it.

from eve-esi.

burberius avatar burberius commented on June 15, 2024

The authentication part works for you, too, with the + encoded URL?

from eve-esi.

Claudweb avatar Claudweb commented on June 15, 2024

No it only worked if I replaced the + with a %20.

from eve-esi.

burberius avatar burberius commented on June 15, 2024

https://login.eveonline.com/oauth/authorize?scope=esi-assets.read_assets.v1+esi-skills.read_skills.v1+esi-calendar.respond_calendar_events.v1+esi-corporations.read_corporation_membership.v1+esi-killmails.read_killmails.v1+esi-location.read_ship_type.v1+esi-skills.read_skillqueue.v1+esi-search.search_structures.v1+esi-universe.read_structures.v1+esi-bookmarks.read_character_bookmarks.v1+esi-characters.read_contacts.v1+esi-location.read_location.v1+esi-calendar.read_calendar_events.v1+esi-planets.manage_planets.v1+esi-wallet.read_character_wallet.v1+esi-clones.read_clones.v1&response_type=code&state=somesecret&redirect_uri=http%3A%2F%2Flocalhost&client_id=3569e13affe8844da7958c11779603a0bd

This URL worked for me, when I add all esi-scopes to the applications allowed scopes.

PS: I changed the client_id...

from eve-esi.

Claudweb avatar Claudweb commented on June 15, 2024

If I click that link it returns

{"error":"invalid_client","error_description":"Unknown client"}

from eve-esi.

burberius avatar burberius commented on June 15, 2024

I changed the client ID. Have a look in Tweetfleet, I sent it to you, there.

from eve-esi.

burberius avatar burberius commented on June 15, 2024

Information of Claudweb: It is working now. I tried exactly that yesterday with just 2 scopes and it failed. Anyway, it is working now as expected

from eve-esi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.