question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redirect URL is converted to lowercase

See original GitHub issue

Core Library

MSAL.js v2 (@azure/msal-browser)

Core Library Version

2.14.1

Wrapper Library

MSAL Angular (@azure/msal-angular)

Wrapper Library Version

2.0.0-beta5

Description

Let’s say the app url is - http://abc.com/PROJECT/P1555. If we trigger authentication, after successfully authenticated, the url is coming in lowercase - http://abc.com/project/p1555

Error Message

No response

Msal Logs

No response

MSAL Configuration

{
auth: {
      authority: 'https://login.microsoftonline.com/xxx.org/',
      clientId: 'xxxxxxxxxxxxxxx',
      redirectUri: 'http://localhost:4200',
      postLogoutRedirectUri: 'https://xxxx.org',
      navigateToLoginRequestUrl: true
    },
    cache: {
      cacheLocation: 'sessionStorage'
    }
}

Relevant Code Snippets

N/A

Reproduction Steps

Try to authenticate the app with the URL with uppercase and you will see the bevaiour.

Expected Behavior

It should retain the case after redirection

Identity Provider

Azure AD / MSA

Browsers Affected (Select all that apply)

Chrome, Firefox, Edge, Safari

Regression

No response

Source

External (Customer)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
roopeshreddycommented, May 17, 2021

@jasonnutter Any help on this?

1reaction
jasonnuttercommented, May 12, 2021

@roopeshreddy Thanks, we’ll look at fixing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert and redirect URL in uppercase to lowercase using ...
This redirects/corrects any URL containing uppercase letters to the same - all lowercase - URL. The RewriteRule pattern [A-Z] simply checks there is...
Read more >
URLs Case Sensitive - How to Redirect Uppercase to ... - Inflow
Learn how to redirect uppercase URLs to lowercase using htaccess or httpd.conf to prevent 404 errors from occurring.
Read more >
htaccess - How to redirect / convert any URL to lowercase?
On Apache 2.4 you can convert the URL-path to lowercase in .htaccess (only) with an Apache Expression in a RewriteCond (mod_rewrite) ...
Read more >
I need to redirect my https url to lowercase using spring?
What I need is: if I type STACKOVERFLOW.COM and enter mean it redirect to stackoverflow.com but the above url steps did not meet...
Read more >
URL Redirect Convert/Force URLs to Lower Case - MSDN
I am inputting the following into the web config file to force all url's to lowercase. <?xml version="1.0" encoding="UTF-8"?> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found