Questions tagged [microsoft-adal-angular6]

17 questions
5
votes
1 answer

detect if silentlogin is possible in adaljs-angular4

I'm using the library adal-angular4@3.0.13 in a angular 6 project. I try to do following: If a silentlogin (login without prompting the user for credentials) with office365 is possible, then do a silentlogin (with _adalService.login() If a…
3
votes
1 answer

How to configure MsAdalAngular6Module at runtime?

I am using this microsoft adal wrapper to manage authentication in an angular single page app: https://github.com/manishrasrani/ms-adal-angular6 And based on the documentation there I configure all the various options at compile time like this,…
Oddleif
  • 751
  • 3
  • 9
  • 35
2
votes
0 answers

Microsoft-adal-angular6: UI freezes up when i am acquring token 1st time after deployment

Once the application is loaded for first time after the deployment, the UI doesn't get loaded up. The api call is made and the data is passed to the front end. I could also log the output in console. But for some reason it doesnt bind it to ui and…
2
votes
1 answer

How to get correct bearer token through Microsoft-adal-angular6 library?

Im trying to get data from the Azure Resources API: https://management.azure.com/subscriptions/%7BsubscriptionId%7D/tagNames?api-version=2018-05-01 import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from…
2
votes
0 answers

need to Convert a string to objects [Angular 6]

I am trying to convert a string in an object which is having function a value. like this for (let i = 0; i < this.dataSource.data.length; i++) { let control = this.formShipment.controls['User']; var a; if…
2
votes
3 answers

Why is microsoft-adal-angular6 not attaching the bearer token?

I'm trying to use microsoft-adal-angular6 to get an AAD token and access my web api. Everything seems to be working wrt logging in and getting the token, but the token isn't being added as an Auth header to the http requests. Basically I followed…
PilotBob
  • 3,107
  • 7
  • 35
  • 52
1
vote
0 answers

Issue in generating token from ms-adal-angular6 package to authenticate powerbi report

I am using Angular 8, microsoft-adal-angular6 package for Login and ngx-powerbi package to embed Powerbi report I have created Azure App Registration and given the Powerbi API permissions I am using the below configurations for Azure AD login { …
1
vote
2 answers

Using microsoft-ada-angular6 and microsoft-graph-client, how do I verify the permissions of the token I receive back from AAD?

I am using the Implicit Grant workflow in Angular with the microsoft-adal-angular6 library authenticate the user in my app and then obtain a token for access to the Microsoft Graph. The authentication portion is working. And I can obtain a token…
1
vote
1 answer

MS Adal data is shaped for personal live.com account but frontend + pasport app + registered app configured B2B only

I'm using adal-angular4 on the frontend to login and that works, it's successful and through the process it doesn't ask me if I want to use my business account or my personal account and afaik there's no 'persona' account with the email I'm trying…
1
vote
1 answer

Surprisingly I'm getting same code for access_token and id_token

I have angular app version 6 and I'm trying to integrate Azure AD authentication and the micro services are in AWS. Surprisingly I'm getting same code for access_token and id_token. are they supposed to be different? my architect thinks so and asked…
1
vote
1 answer

Angularjs page using adaljs keeps going for a token

I have a very simple application with HTML, AngularJS and I want to use adal-js and adal-angular-js. The app is this: var app = angular.module('myApp', ['ngRoute', 'AdalAngular']); app.config([ '$routeProvider', '$httpProvider',…
0
votes
1 answer

The Reply URL specified in the request does not match the reply URL's configured for the application

I am currently using Microsoft adal angular for Azure active directory authentication and below if the configuration settings for the same. MsAdalAngular6Module.forRoot({ tenant: 'xxxxxxxxxxxxxxxxxxx', clientId: 'xxxxxxxxxxxxxxxxx', …
0
votes
1 answer

Microsoft-adal -angular6 working only after refresh in angular 6

I am using microsoft-adal-angular6 for azure ad authentication in my angular 6 app. Currently when the app loads for the first time, it calls the api methods 2 times and i see my loading icon. But after i refresh the page, it works fine. Why is it…
0
votes
1 answer

Edit page pop up is not working after button click in angular 6 when trying to edit

I am working in CRUD in angular 6. My job is to click edit button in the table where data is populated and then popup window show and edit it and table gets updated using angular 6. Please help, thanks in advance. I tried adding button as…
Rose1988
  • 1
  • 1
0
votes
0 answers

Understanding reply url, and replying to particular route from where login & logout done

I am calling login() where I need to initialize a value to one adalService function init(configOptions: adal.Config): void; which will set default url value So , after login() or logout() it can redirect to the stored redirect value in init() and…
Satish Patro
  • 3,645
  • 2
  • 27
  • 53
1
2