IdentityServer4
microsoft-authentication-library-for-js
IdentityServer4 | microsoft-authentication-library-for-js | |
---|---|---|
22 | 27 | |
8,946 | 3,452 | |
- | 1.3% | |
4.2 | 9.6 | |
over 1 year ago | 6 days ago | |
C# | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
IdentityServer4
-
Enforcing single user session IDS4
Found this 6 year old issue https://github.com/IdentityServer/IdentityServer4/issues/736 but I didn't quite get the solution and it sounded awfully complicated.
-
Understanding JWT Tokens
IdentityServer4 can provide a base infrastructure or serve as reference code if you're trying to create your own tokens for your own users.
-
Am I understanding OIDC Authorization Code Flow right?
Read up on IdentityServer, they also have good starter templates. Scott Brady has the best tutorials IMHO.
-
Why would I ever choose IdentityServer over Azure AD B2C?
The old v4 of IdentityServer was free under the Apache license (https://github.com/IdentityServer/IdentityServer4), but newer versions went all commercial.
- Do i need a paid Duende IdentityServer license?
-
What is the easiest way to add api authorization for a single non-human consumer?
Here's a link to IdentityServer's Github repository, [check the samples folder](https://github.com/IdentityServer/IdentityServer4) for the different types of scenarios and code that is used, and you're off to the races.
-
What is the toughest concept to understand and implement in .NET according to you?
If you want federated login, use OpenID Connect with ASP.NET Identity combined with IdentityServer4.
-
Quick question about blazor clients and identity server
Please be aware that End of Support for Identity Server is in a few weeks, if you mean https://github.com/IdentityServer/IdentityServer4
- Identity Server in sub site
- How does identity serve its ui layer to the end application
microsoft-authentication-library-for-js
-
Sveltekit Microsoft authentication
You can use the sample provided at https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples and integrate it in hooks.server.ts.
-
Token request cannot be made without authorization code or refresh token when I add "teamsAppInstallation.ReadWriteSelfForChat.All" scope
I'm utilizing the Authorization Code sample provided in the MSAL Node.js library (https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples/auth-code), with the only modification being the addition of the aforementioned scope to my configuration. Below, I've shared the relevant segment of my customConfig.json and the primary code snippet where the error surfaces.
- Does Azure AD B2C only employ OAuth2 / OIDC? Does it support any other mechanisms?
-
No Token in the Browser Pattern using Azure API Management
As the backend handles the token acquisition, no other code or library, such as MSAL.js, is required in the single-page application itself. This also means that no tokens are required to be stored in the browser session or local storage. By encrypting and storing the access token in an HttpOnly cookie protects it from XSS attacks, and scoping it to the API domain and setting SameSite=strict ensures that the cookie is automatically sent with all proxied API first-party requests. More on SameSite cookies can be read here.
- Web app with SSO and MS Graph access?
-
Redirect to a custom login page when securing your Angular app with MSAL
The easiest way to secure Angular apps with the Microsoft Identity Platform is by using the MSAL (Microsoft Authentication Library) Angular package. This package contains Angular-specific building blocks for implementing MSAL in your app.
-
New to Azure, can Azure logic apps help me keep an API access token fresh throughout the day? The API access token only lasts for one hour before it has to be refreshed via a refresh token.
For example: https://github.com/AzureAD/microsoft-authentication-library-for-js
-
A noob question on security/authentication (Azure AD related)
I was imagining something like this, and since you’ve got it on the frontend already just throwing the token to the backend and letting it validate the token https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/node-token-validation-samples/basic-sample
- [AskJS] Question about caching JWT in SPA
-
Laravel Azure Authentication with SPA
I did an azure ad implementation recently(laravel / SPA). I used the offical msal.js library (https://github.com/AzureAD/microsoft-authentication-library-for-js) to present the azure ad login screen. After successful login, I take the received azure ad access token and send it to my laravel based api. there, I verify the token and if valid and the user exists in the app, I create an access token for my apis and return it to the spa. The spa then uses this token for further requests, until the lifetime of the token expires. Hope that helps a bit, feel free to ask for details :)
What are some alternatives?
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
Ory Hydra - OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
laravel-azure-ad-oauth - Drop-in socialiate plugin for Laravel applications for Microsoft Azure SSO.
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
TheIdServer - OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
amplify-js - A declarative JavaScript library for application development using cloud services.
ApiEndpoints - A project for supporting API Endpoints in ASP.NET Core web applications.
IdentityServer - The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core