c#


Identity Server and Custom Generated Tokens


I have a problem with authentication in my app, using IdentityServer3: if IS is reached with a direct link and an access token is generated, when API tries to validate it on same IS, but with a mirror link, I get the 401 error. I believe the cause of this bug is that token contains URL of IS in it, so it is not recognized on same IS with mirror link.
My question is - how could I generate a custom token that will not contain information about URL in it? Any other suggestion or advice on this matter will be much appreciated!
I've tried to find an answer to this question on IS github page and this is the closest I got to an answer:
http://docs.identityserver.io/en/release/topics/extension_grants.html
But it didn't really solve my issue because, firstly, it's using IS4, secondly, what I'm trying to do is sort of remove the URL part of the token and I can't see how extension grant would allow me to do that.

Related Links

Create shortcut to Content Files in File System's Setup Project
Submit selected checkboxes only for multiple objects to an MVC controller
MVC4: Authentication still valid but got redirected to login page after app pool recycle
inject C# code to another process and call target functions
Access C++ static methods from C#
Singleton for MongoDB
Data-sync design in .net [closed]
Potentially Dangerous request errors
Using MySQL StoredProcedure in Asp.Net C#
ASP.NET using gmail with smtp error: “A connection attempt failed because the connected party did not properly respond..”
Get values from Gridview to textbox
Xamarin Android Simulator and sending test GPS data to app
Using RestSharp with Gerrit REST API
How to format URL from Eddystone in C#
Papersize class does not showed the paper size when trying to download a Gridview in PDF using C#
DropDownList in Footer not getting filled/bound

Categories

HOME
actionscript-3
oop
network-programming
formatting
magento-1.9.2.1
ubuntu-14.04
mailchimp
servicenow
open-search-server
samsung-gear-s2
digital
google-search-appliance
adroitlogic
eclipse-orion
ibatis
aiml
gpo
lotusscript
quality-center
pumping-lemma
bootstrap-accordion
policy
struts
sha
knapsack-problem
gulp-jshint
android-6.0-marshmallow
mex
cqlsh
recreate
edsdk
textview
slim-lang
wercker
oracle-nosql
availability
rtos
webclient
azure-vm-scale-set
kofax
scalamock
jslider
aspose.pdf
usernotifications
keychain
susy
vertical-alignment
php-mongodb
colorbox
api-key
monaca
fluent-nhibernate-mapping
playframework-2.3
android-vectordrawable
typewriter
nsalert
multi-select
timex
addressbook
ownership
easy-thumbnails
mavlink
jigsaw
cherry-pick
archiva
android-facebook
hexagonal-tiles
eaaccessory
callfire
vensim
clearquest
ultraedit
parseexception
numerical-recipes
attiny
xmla
kss
growl
vundle
parallel-port
atg-dynamo
smartxls
data-layers
boofcv
maven-javadoc-plugin
misfire-instruction
fade
xrandr
usersettings
wpd
backbone-views
ftpwebrequest
database-restore
feincms
linear-interpolation
databus
umfpack
excellibrary
script-tag
wtsapi32
office-2003

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App