Azure-Samples / Azure-Samples/ms-identity-docs-code-javascript

Angular Spa not work, html is not valid

Open
#175 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
62
Forks
63
PR merge metrics
No merged PRs in 30d

Description

In angular spa sample the page 'app.component.html' has nested 'a' elements, and not works because when push button, main 'a' refresh the page before redirecto to microsoft page.

changing 'a' by 'div' works well.

Contributor guide

Open the contributing guide

Research direction

Open the Angular SPA sample's app.component.html and inspect the nested a elements around the button and Microsoft redirect. Apply the issue's proposed element change, then verify that activating the button no longer refreshes the page and still redirects to Microsoft.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.