Giter Club home page Giter Club logo

Comments (8)

yuriyz avatar yuriyz commented on July 19, 2024

@sakitA are you sure you are on 3.1.0 version ? In code I can see description, see

https://github.com/GluuFederation/oxAuth/blob/version_3.1.0/Model/src/main/java/org/xdi/oxauth/model/uma/UmaResource.java#L41

from docs-ce-prod.

sakitA avatar sakitA commented on July 19, 2024

Yes @yuriyz I am using 3.1.0 but when I use describe I got error but when I set display_name eveything is ok. I am talking about web services. I was trying to register my resources with web services.
{"resource_scopes":["read-public","post-updates","read-private","http:\/\/www.example.com\/scopes\/all"],"name":"paw_resource","type":"http:\/\/www.example.com\/rsrcs\/socialstream\/140-compatible","display_name":"paw protect resources"}
this works normally.

from docs-ce-prod.

yuriyz avatar yuriyz commented on July 19, 2024

@sakitA I wish to understand how is it possible, it seems you don't have latest 3.1.0 version or something.
Here is resource registration web service:

https://github.com/GluuFederation/oxAuth/blob/version_3.1.0/Server/src/main/java/org/xdi/oxauth/uma/ws/rs/UmaResourceRegistrationWS.java#L94

As you can see it is using UmaResource class from here

https://github.com/GluuFederation/oxAuth/blob/version_3.1.0/Model/src/main/java/org/xdi/oxauth/model/uma/UmaResource.java#L41

Look at line 41. I wish to know from where does it take display_name on your side if we have description field in latest 3.1.0.

from docs-ce-prod.

sakitA avatar sakitA commented on July 19, 2024

I have only gluu server 3.1.0 installed on my machine. As I told above I got this error when registering resources with web services. You can also try. Just call resources registration endpoint

from docs-ce-prod.

yuriyz avatar yuriyz commented on July 19, 2024

I checked it with 3.1.1 version and there it works with description, not display_name. I don't have 3.1.0 right now to check it. I will check it once I will have 3.1.0 or hopefully someone from the team will check it till that time ... keeping it open for now. Thanks @sakitA.

from docs-ce-prod.

sakitA avatar sakitA commented on July 19, 2024

Today I check on version 3.1.1 both of them works description and display_name

from docs-ce-prod.

yuriyz avatar yuriyz commented on July 19, 2024

I don't think display_name works, it's just ignored. You can check it in ldap.

from docs-ce-prod.

sakitA avatar sakitA commented on July 19, 2024

You are right. I will close the issue. It seems that version 3.1.0 has lots of bugs

from docs-ce-prod.

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.