hi
You can customize the code in the application service and disable some roles if the current user is customers
.
hi
Maybe you can take a look at https://github.com/cotur/abp-api-key-authorization
hi
You need to custom the js code yourself.
https://datatables.net/examples/advanced_init/footer_callback.html
hi
I didn't change the swagger behavior. So it does not support the subdomain.
hi
Here is my angular config and I tested, It works.
import { Environment } from '@abp/ng.core';
const baseUrl = 'https://{0}.ng.getabp.net:4200';
const oAuthConfig = {
issuer: 'https://{0}.ids.getabp.net:44301',
redirectUri: baseUrl,
clientId: 'BookStore_App',
responseType: 'code',
scope: 'offline_access BookStore',
requireHttps: true,
};
export const environment = {
production: false,
application: {
baseUrl,
name: 'BookStore',
},
oAuthConfig,
apis: {
default: {
url: 'https://{0}.api.getabp.net:44302',
rootNamespace: 'BookStore',
},
AbpAccountPublic: {
url: oAuthConfig.issuer,
rootNamespace: 'AbpAccountPublic',
},
},
} as Environment;
hi @mgurer
request.AddParameter("scope", "ProductService offline_access");
When I try the password flow using the related application(client) and admin user, I get only access_token. Refresh token is missing.
Please share your http request info.
hi
https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory
hi
https://docs.abp.io/en/abp/latest/Modules/OpenIddict#updating-claims-in-access_token-and-id_token
hi
I will add a sample.
https://github.com/abpframework/abp/issues/14435