Activities of "Anjali_Musmade"

hi

what i want to check is for the scopes can you see if you have this scope in the token that you are getting inside abp from jwt.io?

Hello abpnewtonvisionco,

I have checked your code, I think you are missing to add File in your generateFormData method ->

Could you please try with this code

private generateFormData(file: File | null) {
  if (!file) {
    return null;
  }
  const formData = new FormData();
  formData.append('file', file);
  formData.append('fileName', file.name);
  formData.append('contentType', file.type);
  formData.append('contentLength', file.size.toString());
  
  return formData;
}

Please do let us know if this helps you or if anything else is needed

Thank you, Anjali

Hi

We have tried deploying the app to local k8 below are our configuration and it is working please check and let me know if you also have same configs

  1. HttpApiHost
  2. Authserver
  3. Angular
  4. Metadata adress

getting ip's

Hello alexander.nikonov,

Please try to add this code in app.component.ts

import { AuthService } from '@abp/ng.core';
import { Router } from '@angular/router';
import { OAuthService } from 'angular-oauth2-oidc';
import { filter, tap } from 'rxjs';
 
constructor(private oAuthService: OAuthService , private router: Router, private authService: AuthService) {
    this.oAuthService.events
    .pipe(filter(event => event?.type === 'logout'),
      tap(() => {
        this.authService.logout().subscribe(() => {
            this.authService.init()
          this.authService.navigateToLogin();
        });
      })).subscribe();
 }

please do let me know if this helps you.

Thank you, Anjali

Hello Sagar.chinna,

We are trying to reproduce this issue, but it will take some time. Please have a look at the links below if you think they may be useful. https://community.fabric.microsoft.com/t5/Service/Power-BI-Rest-API-wont-accept-Application-Token/m-p/2510908 https://community.fabric.microsoft.com/t5/Service/Power-BI-Rest-API-wont-accept-Application-Token/m-p/2514468#M160047

Also could you please check you token details on https://jwt.io/ and share a screenshot of decoded details only

Please do let me know if anything else is needed.

Thank You, Anjali

Hi

can you try changing audience in you httpihostmodule to AccountService

i hope your Authserver:MetaAddress and AuthServer:Authority are same across

Hi can you share a screenshot of PreConfigureServices in your AuthServerModule ? i want to see options.AddAudiences("Bookshop"); in your AuthServerModule

is it possible to share the authurl, angular and backend URL over email to support@abp.io with the ticket id?

Hello aksogut,

Thanks for confirming we are closing it.

Thank you, Anjali

Hello sanobarm@cloudassert.com,

Thank you for your confirmation. Closing the ticket.

Thank you, Anjali

Hi,

Can you share your PreConfigureService Code from HttpApiHostModule?

Showing 1091 to 1100 of 1305 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 15, 2025, 05:31