Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

oauth

.NET Core Google OAuth (and other providers) – do I need to store the access tokens?

September 3, 2022 by Magenaut

I’m unclear if I need to store and or use access tokens in this social login implementation.

Categories ASP.NET, Q&A Tags .net, asp.net, asp.net-core, c#, oauth Leave a comment

Configure the authorization server endpoint

September 3, 2022 by Magenaut

app.UseOAuthAuthorizationServer/OAuthAuthorizationServerMiddleware: as the name suggests, OAuthAuthorizationServerMiddleware was an OAuth2 authorization server middleware and was used to create and issue access tokens. This middleware won’t be ported to ASP.NET Core: OAuth Authorization Service in ASP.NET Core.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-identity, c#, oauth Leave a comment

OAuth Authorization Service in ASP.NET Core

September 2, 2022 by Magenaut

In Web API 2, you used to be able to create an endpoint to issue a token by setting up an OAuth Authorization Server via middleware like below:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-core-mvc, oauth Leave a comment

Too many cookies OpenIdConnect.nonce cause error page “Bad Request – Request Too Long”

September 1, 2022 by Magenaut

I’m using OWIN / OAuth with OpenId Connect authentication (Microsoft.Owin.Security.OpenIdConnect) in a C# ASP MVC web app. The SSO login with Microsoft account basically works, but from time to time I’m getting an error page on the browser that says Bad Request - Request Too Long.

Categories ASP.NET, Q&A Tags asp.net, cookies, oauth, owin Leave a comment

OAuth2 WebApi Token Expiration

August 31, 2022 by Magenaut

I am trying to set a token expiration time dynamically, but it appears it just keeps defaulting to 20 minutes.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, oauth, oauth-2.0, owin Leave a comment

Service Account Google Analytics OAuth AccessType = Offline C#

August 31, 2022 by Magenaut

I’ve got credentials of an account with access to Google Analytics,

Categories ASP.NET, Q&A Tags asp.net, c#, google-analytics-api, oauth Leave a comment

Twitter API application-only authentication (with linq2twitter)

August 30, 2022 by Magenaut

I need to implement Twitter API application-only authentication and I’ve searched through linq2twitter oauth samples and stackoverflow questions, but I didn’t find anything helpful about it.

Categories ASP.NET, Q&A Tags asp.net, c#, linq-to-twitter, oauth, twitter Leave a comment

oAuth ASP.NET Membership Provider

August 30, 2022 by Magenaut

Are there any recommended resources for implementing a custom membership provider that uses oAuth? The goal would be to have users to log into my ASP.NET MVC application using their existing oAuth credentials. After the user is authenticated, I’d then like to leverage the built-in ASP.NET authorization features.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, oauth, openid Leave a comment

OAuth 2.0 In .NET With Instagram API

August 29, 2022 by Magenaut

I am working on consuming the Instagram API and I am stuck at step 2 of their OAuth. I have a code from their redirect back to me, but then they want me to do a post with parameters like below…

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, oauth Leave a comment

I get “Authorization has been denied for this request.” error message when using OWIN oAuth middleware (with separate Auth and Resource Server)

August 29, 2022 by Magenaut

I am attempting to decouple my auth and resource server. I am following the example provided in this tutorial:

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, oauth, oauth-2.0, owin Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress