Open Closed

Openiddict error when calling api/account/my-profile #6458


User avatar
0
nawaf.maqbali created

The specified token cannot be used with this resource server.


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What is the scopes of the token you get?

    Please share a test access_token

  • User Avatar
    0
    nawaf.maqbali created

    eyJhbGciOiJSUzI1NiIsImtpZCI6IjgxMDZFREE0MzAxMzE3Njc2MzhDQ0QyREM1QjE0NEFENUNEODBCMDYiLCJ4NXQiOiJnUWJ0cERBVEYyZGpqTTB0eGJGRXJWellDd1kiLCJ0eXAiOiJhdCtqd3QifQ.eyJzdWIiOiI4NDkwOGY4Ni1iNTYyLTM1ZGMtZGNjMC0zYTBmNzQyZTkwNTUiLCJlbWFpbCI6Im5hd2FmLm1hcWJhbGlAcmloYWwub20iLCJnaXZlbl9uYW1lIjoi2YbZiNin2YEiLCJmYW1pbHlfbmFtZSI6Itin2YTZhdmC2KjYp9mE2YoiLCJwaG9uZV9udW1iZXIiOiI5MzUwODA2MyIsInBob25lX251bWJlcl92ZXJpZmllZCI6IlRydWUiLCJlbWFpbF92ZXJpZmllZCI6IlRydWUiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiI4MDAwMjI5IiwidW5pcXVlX25hbWUiOiI4MDAwMjI5IiwibmFtZSI6IjgwMDAyMjkiLCJvaV9wcnN0IjoibWFyb29mX2FwcCIsImNsaWVudF9pZCI6Im1hcm9vZl9hcHAiLCJ1c2VybmFtZSI6IjgwMDAyMjkiLCJmaXJzdE5hbWUiOiLZhtmI2KfZgSIsImxhc3ROYW1lIjoi2KfZhNmF2YLYqNin2YTZiiIsInVzZXJUeXBlIjoibWVyY2hhbnQiLCJnZW5kZXIiOiJtYWxlIiwib2lfdGtuX2lkIjoiYTI2NDJhNGQtNGI1Yi00MjQ4LWIzMzYtMTQ3YjMwNDk5YTg4IiwiYXVkIjpbInByb2ZpbGUiLCJlbWFpbCIsIm9wZW5pZCJdLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIiwianRpIjoiZmMwNDY1MDQtNDc2Ni00MTkzLWFkMWUtNjExNTFkZDQxNWQyIiwiZXhwIjoxNzA0NjExNzAzLCJpc3MiOiJodHRwczovL2xvY2FsaG9zdDo0NDM3MS8iLCJpYXQiOjE3MDQ2MDkwMDN9.MnJKuBmy97pOoL3UuCPQ2cAo_8WaS_IGssWiJfKcdXwtLHChdieM_MNLZ5vYj54aYWqbo5y1yedNajr4udka6ApGn0iFl4ezP_uDw9YpMjKuLOzJ0YKnwUwOpeDMDiyRvdSlTq2FUtgTgFZ-d6WWrL-RUbAO0fFqxThXyxn_fKZBhzhIr703GZSnuUeuJVaMAIEP8pj4qyl8MC_geg3x60JRBSudAzKdNdxgsr2xDA0TBQzRFm0hQBI-djf-BzddtX77lj3WrJ9xCCyhdP0G2aOyZjjeu3vEL0PUBEFDYskO3RvtKXyWdiYKi-yXhXe4cYxPLbt31lPjRPC9sApYzA

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please add your API scope to the scopes

  • User Avatar
    0
    nawaf.maqbali created

    what is the name of api scope

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

  • User Avatar
    0
    nawaf.maqbali created

    thanks, worked

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11